SDK and JRE bundles

Mike Swingler swingler at apple.com
Tue Oct 4 08:55:13 PDT 2011


On Oct 4, 2011, at 5:28 AM, Henri Gomez wrote:

> I installed both SDK and JRE bundles and Java Prefs didn't reports them anymore.
> 
> Apart Info.plist, what's is used to check a valid JVM is installed
> under /Library/Java/JavaVirtualMachines/ ?

I made a mistake in the symlink generation for the bundle's primary executable "libjli.dylib". The Mac OS X JVM detection system sniffs the primary executable of the bundle for architectures so it knows which modes the particular JVM bundle supports. Since the symlink was broken, there were no architectures to sniff, ergo, not really a JVM there.

This has been fixed in: <http://hg.openjdk.java.net/macosx-port/macosx-port/jdk/rev/1b3e924c6db1>

Also, the .jre bundle is not a valid JDK to install in JavaVirtualMachines (because it's not a JDK). It's really only interesting to developers who want to get started on bundling it in their apps - but we aren't done developing this yet.

Regards,
Mike Swingler
Java Engineering
Apple Inc.



More information about the macosx-port-dev mailing list