Possible to use mac os x JDK 1.6 port ( SoyLatte ) to launch eclipse?

Landon Fuller landonf at bikemonkey.org
Mon Dec 3 11:47:04 PST 2007


On Dec 3, 2007, at 10:51, Carfield Yim wrote:

> Look like it is not possible to tell eclipse use SoyLatte using -vm  
> parameter , so I try to start eclipse in command line using  
> following command:
>
> ./soylatte16-i386-r2/bin/java -Djava.library.path=plugins/ 
> org.eclipse.swt.carbon.macosx_3.3.0.v3346/:plugins/ 
> org.eclipse.equinox.launcher.carbon.macosx_1.0.0.v20070606 -cp  
> eclipse/plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar  
> org.eclipse.equinox.launcher.Main -os macosx -ws carbon -arch x86 - 
> clean -debug  --launcher.library plugins/ 
> org.eclipse.equinox.launcher.carbon.macosx_1.0.0.v20070606/ 
> eclipse_1017a.so -startup  plugins/ 
> org.eclipse.equinox.launcher_1.0.0.v20070606.jar -vm ./soylatte16- 
> i386-r2/bin/java -keyring ./.eclipse_keyring -consoleLog -showlocation
>
> However, may be I still miss some library at -Djava.library.path, I  
> still get following exception, will anyone have idea of fixing this?:

My two minute solution (just now) was to drop the SWT JNI libraries  
in the java.library.path manually. Eclipse seems to be running fine.
I couldn't find the original SWT binaries in the eclipse installation  
tree -- does eclipse extract them from a jar?

Also, SoyLatte R2 only supports shared libraries with the  
standard .dylib extension. R3 added a fall-back to Apple's .jnilib.

-landonf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://mail.openjdk.java.net/pipermail/porters-dev/attachments/20071203/a6b45250/attachment.bin 


More information about the porters-dev mailing list