Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jun 2005 10:45:32 -0400 (EDT)
From:      Mikhail Teterin <mi@corbulon.video-collage.com>
To:        vizion@vizion.occoxmail.com (Vizion)
Cc:        java@freebsd.org, past@ebs.gr, lioux@freebsd.org
Subject:   Re: eclipse on amd64
Message-ID:  <200506121445.j5CEjWtJ019369@corbulon.video-collage.com>
In-Reply-To: <200506111422.46841.vizion@vizion.occoxmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> >> Is there any effort to make eclipse build/work FreeBSD/amd64? Thanks!
> >>
> >> 	-mi
> >>
> >> P.S. R-3.0.2-200503110845 is out since, well, Mar 11 :-)
> >
> >You could try eclipse-devel, since it works on amd64 right now. It is
> >based on 3.1M7 at the moment.
> 
> It is working fine for me on FreeBSD 5.3

Yep, eclipse-devel built fine and comes up for me, thank you!

However, my goal was to get net/azureus working :-) I managed to get
that port to build and modified the startup script to find the jars:

	/opt/bin/java -cp	\
	:/opt/share/java/classes/azureus.jar:/opt/eclipse/plugins/org.eclipse.swt.gtk.freebsd.amd64_3.1.0.jar:/opt/eclipse/plugins/org.eclipse.swt_3.1.0.jar \
	-Djava.library.path=/opt/eclipse/plugins/org.eclipse.swt.gtk.freebsd.amd64_3.1.0.jar	\
	-Dazureus.config.path=/home/mi/.Azureus -Duser.dir=/home/mi/.Azureus \
	org.gudy.azureus2.ui.swt.Main

but it still reports on start-up:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3135 in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
        at java.lang.Runtime.loadLibrary0(Runtime.java:822)
        at java.lang.System.loadLibrary(System.java:992)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
        at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:19)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
        at org.eclipse.swt.widgets.Display.<clinit>(Display.java:122)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(Unknown Source)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(Unknown Source)
        at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Unknown Source)
        at org.gudy.azureus2.ui.swt.Main.<init>(Unknown Source)
        at org.gudy.azureus2.ui.swt.Main.main(Unknown Source)

The libswt-pi-gtk-3135.so is right there inside
	org.eclipse.swt.gtk.freebsd.amd64_3.1.0.jar

Is not org.eclipse.swt supposed to find it there? If not, why does it
put it inside there? Thanks!

	-mi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506121445.j5CEjWtJ019369>