Currently working IDEs
José Cornado
jose.cornado at gmail.com
Thu Jan 13 19:10:38 PST 2011
thanks for the update! I am toying with the idea of retaking some apple+java
development but I am not quite there yet. This is useful info to reduce the
initial setup time
On Thu, Jan 13, 2011 at 9:45 PM, Michael Hall <mik3hall at gmail.com> wrote:
>
> On Jan 13, 2011, at 1:00 AM, Henri Gomez wrote:
>
> >> How does one launch Eclipse using OpenJDK?
> >
> > I do, I'm using OpenJDK 1.7 for 2 months with Eclipse 3.6 (Helios)
> > Stable, only had to change fonts
>
> If you're saying you're doing this on OS X I'd be a little curious as well
> as to how you launch?
>
> Looking out of curiosity to see how this might work I can't seem to get the
> Cocoa Eclipse Helios version to load SWT.
>
> (In part...)
> java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
> Can't load library:
> /Applications/eclipse/Eclipse.app/Contents/MacOS/lib/libswt-cocoa-3655.jnilib
> Can't load library:
> /Applications/eclipse/Eclipse.app/Contents/MacOS/lib/libswt-cocoa.jnilib
> no swt-cocoa-3655 in java.library.path
> no swt-cocoa in java.library.path
>
> This seems to have been a know issue...
>
> snow leopard - How do I resolve no swt-cocoa-3557 or swt-cocoa in
> swt.library.path, java.library.path or the jar file error?
>
> http://stackoverflow.com/questions/2894954/how-do-i-resolve-no-swt-cocoa-3557-or-swt-cocoa-in-swt-library-path-java-library
>
> Subject: Re: Eclipse bug 328671, Eclipse will not run with Soylatte
> http://lists.apple.com/archives/java-dev/2010/Oct/msg00737.html
>
> For Erik if he's looking to try it...
>
> Green's Opinion: Eclipse 3.5 (Galileo) on Java 7
> http://greensopinion.blogspot.com/2009/05/eclipse-35-galileo-on-jdk-7.html
> linked to from...
> Eclipse 3.6 on Open JDK on Mac OSX | Eclipse Zone
> http://eclipse.dzone.com/tips/eclipse-36-open-jdk-mac-osx
>
> Found an additional launch script here...
> http://community.jboss.org/message/566168
>
> Mine currently looks like...
>
> JDKPATH=/Users/mjh/Library/Java/JavaVirtualMachines/OpenJDK7.jdk/Contents/Home
> DEBUG_OPTS=
> # DEBUG_OPTS=-Xdebug
> -Xrunjdwp:transport=dt_socket,address=1044,server=y,suspend=y
> MEM_OPTS=-Xms1024m\ -Xmx1536m\ -XX:MaxPermSize=256m
> ECLIPSE_LOC=/Applications/eclipse
> WORKSPACE=/Users/mjh/Documents/workspace
>
> ls -l $ECLIPSE_LOC/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
> $JDKPATH/bin/java $DEBUG_OPTS \
> -cp $ECLIPSE_LOC/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar \
> -XstartOnFirstThread $MEM_OPTS \
> -Dorg.eclipse.swt.internal.carbon.smallFonts \
> -Djava.library.path=$ECLIPSE_LOC/Eclipse.app/Contents/MacOS/lib \
> -Dswt.library.path=$ECLIPSE_LOC/Eclipse.app/Contents/MacOS/lib \
> org.eclipse.equinox.launcher.Main \
> -os macosx -ws cocoa -arch x86 \
> -showsplash -launcher $ECLIPSE_LOC/Eclipse.app/Contents/MacOS/eclipse \
> -name Eclipse \
> --launcher.library
> $ECLIPSE_LOC/plugins/org.eclipse.equinox.launcher.cocoa.macosx_1.1.1.R36x_v20100810/eclipse_1309.so
> \
> -startup
> $ECLIPSE_LOC/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar \
> -data $WORKSPACE \
> -vm $JDKPATH
>
>
> _______________________________________________
> macosx-port-dev mailing list
> macosx-port-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/macosx-port-dev
>
--
José Cornado
--
home: http://www.efekctive.com
blog: http://www.efekctive.com/blogging
----------------------
Everything has been said before, but since nobody listens we have to keep
going back and beginning all over again.
Andre Gide
More information about the macosx-port-dev
mailing list