eclipse on amd64
Mikhail Teterin
mi at corbulon.video-collage.com
Sun Jun 12 14:45:58 GMT 2005
> >> 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
More information about the freebsd-java
mailing list