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

Carfield Yim carfield at carfield.com.hk
Sat Dec 8 22:39:08 PST 2007


This post is work

On 12/4/07, Leif Nelson <lnelson at llnl.gov> wrote:
>
> For eclipse 3.3.1, the swt .jnilib's seem to be hiding in the
> plugins/org.eclipse.swt.carbon.macosx_3.3.2.v3347a.jar file.  I did the
> following to startup eclipse 3.3.1 on my mac:
>
> /apps/eclipse-3.3.1 $ cd plugins/
> /apps/eclipse-3.3.1/plugins $ mkdir swt-carbon-macosx
> /apps/eclipse-3.3.1/plugins $ cd swt-carbon-macosx/
> /apps/eclipse-3.3.1/plugins/swt-carbon-macosx $ jar -xf
> ../org.eclipse.swt.carbon.macosx_3.3.2.v3347a.jar
> /apps/eclipse-3.3.1/plugins/swt-carbon-macosx $ cd ../..
> /apps/eclipse-3.3.1 $ /opt/soylatte16-i386-r3/bin/java -Xmx1024m
> -XX:MaxPermSize=128m
> -
> Djava.library.path=plugins/swt-carbon-macosx:plugins/org.eclipse.swt.carbon.macosx_3.3.2.v3347a.jar:plugins/org.eclipse.equinox.launcher.carbon.macosx_1.0.2.R331_v20071019
> -cp plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.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.2.R331_v20071019/eclipse_1021.so
> -startup  plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
> -vm /opt/soylatte16-i386-r3/bin/java -keyring ./.eclipse_keyring
> -consoleLog -showlocation
>
> Eclipse then popped right up!
>
> --Leif
>
> Landon Fuller wrote:
> >
> > 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



On 12/9/07, Jeff Payne <klssrfr at cox.net> wrote:
>
> Hi all,
> Are there directions to run eclipse under SoyLatte?  It would really
> be helpful.  :)
> Jeff
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/porters-dev/attachments/20071209/0773fea4/attachment.html 


More information about the porters-dev mailing list