openjdk and eclipse

Michael Franz mvfranz at
Mon Feb 23 16:46:57 PST 2009


I have not tried eclipse on the most recent repo.  I do notice that your
start script is missing a bunch of stuff that I put in.  This is what I use,
you should just have to change the two variables to get it to work.  I see
you are using the cocoa version on x86_64, I have only run using carbon on

export JAVA_HOME=/usr/local/java-1.7.0
export ECLIPSE_HOME=/Developer/Applications/Eclipse-3.4

${JAVA_HOME}/bin/java -server -Xms128m -Xmx1536m -XX:MaxPermSize=256m
-Dosgi.requiredJavaVersion=1.5 -Dorg.eclipse.swt.internal.carbon.smallFonts
org.eclipse.equinox.launcher.Main -os macosx -ws carbon -arch x86
-showsplash -launcher ${ECLIPSE_HOME}/
-name Eclipse --launcher.library
-launcher ${ECLIPSE_HOME}/ -consoleLog
-showlocation -vm ${JAVA_HOME}

On Mon, Feb 23, 2009 at 9:48 AM, peter barnabus <peterbarnabus at>wrote:

> Hi,
> I had some success running eclipse with soylatte, but it does not work at
> all with the latest openjdk. Has anyone else had any success?
> /usr/local/java-1.7.0/bin/java -server -Xms128m -Xmx1536m
> -XX:MaxPermSize=256m -Dosgi.requiredJavaVersion=1.5
> -Dorg.eclipse.swt.internal.carbon.smallFonts -Djava.library.path=jnilib -cp
> plugins/org.eclipse.equinox.launcher_1.0.200.v20090128-1500.jar
> org.eclipse.equinox.launcher.Main -os macosx -ws cocoa -arch x86_64
> -showsplash -launcher -name Eclipse
> --launcher.library
> plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.0.0.v20081125-1800/
> -startup plugins/org.eclipse.equinox.launcher_1.0.200.v20090128-1500.jar
> -launcher -keyring
> /Users/peter/.eclipse_keyring -consoleLog -showlocation -vm
> /usr/local/java-1.7.0
> java.lang.NullPointerException
>         at
> org.eclipse.core.runtime.adaptor.LocationManager.getEclipseHomeLocation(
>         at
> org.eclipse.core.runtime.adaptor.LocationManager.initializeLocations(
>         at
> org.eclipse.core.runtime.adaptor.EclipseStarter.startup(
>         at
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(
>         at java.lang.reflect.Method.invoke(
>         at org.eclipse.equinox.launcher.Main.invokeFramework(
>         at org.eclipse.equinox.launcher.Main.basicRun(
>         at
>         at org.eclipse.equinox.launcher.Main.main(
> regards,
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the bsd-port-dev mailing list