Currently working IDEs
Mike Swingler
swingler at apple.com
Tue Jan 18 17:55:55 PST 2011
I am uncertain why -XstartOnFirstThread did not work for you. The support has been in the BSD port for quite a while:
<http://hg.openjdk.java.net/macosx-port/macosx-port/jdk/file/a91793b807d5/src/share/bin/java.c>, line 1033.
This may require a proper bug with steps to reproduce (and a proper bug reporter to file it into). ;-)
Regards,
Mike Swingler
Java Engineering
Apple Inc.
On Jan 14, 2011, at 5:05 PM, Erik Mattheis wrote:
> 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