Currently working IDEs

Erik Mattheis ironduck at mac.com
Fri Jan 14 17:05:44 PST 2011


I had run across the blog posts you mentioned before I posted to the list. I dismissed them earlier since they seemed dated and it seemed like Henri was using Eclipse seamlessly with OpenJDK.

Also, I never had a problem using the OpenJDK as a JRE within Eclipse for compiling and running - that works fine except for having to manually enter the path to the JDK as you mentioned.

I still don't know how (or if it's even possible) to actually launch Eclipse using OpenJDK. If you simply edit the eclipse.ini and add a -vm argument pointing to the java executable, Eclipse launches, but if you got to 'About Eclipse' in the application menu, click 'Installation Details' and select the 'Configuration' tab, you'll see that Eclipse is actually running on the Apple 1.6 JDK. Attempting to manually launch Eclipse using the OpenJDK java executable like this:

`/usr/libexec/java_home --version 1.7`/bin/java -jar plugins/org.eclipse.equinox.launcher_1.2.0.v20101119.jar -os macosx -ws cocoa -arch x86_64

results in the following message and an abrupt failure:

***WARNING: Display must be created on main thread due to Cocoa restrictions.

Adding the -XstartOnFirstThread argument has no effect.

-- 
Erik


On Jan 14, 2011, at 5:43 PM, Michael Hall wrote:

> 
> On Jan 14, 2011, at 4:23 PM, Michael Hall wrote:
> 
>> Now to see if it compiles java for me without the SWT load errors.
> 
> HelloWorld! 1.7.0-internal
> 
> Yeah, that works. Never mind the script stuff Erik.
> 
> But Eclipse should have some sort of change for the dialog to properly handle the .jdk file. 


More information about the macosx-port-dev mailing list