SDK and JRE bundles

Tobias Bley (UltraMixer) tobi at ultramixer.com
Tue Oct 4 09:16:37 PDT 2011


We just developed an own java launcher which launches the bundled .jre it works very good! The java launcher (replacement for JavaApplicationStub) is created with an ant task who compiles a native executable which calls the JavaVM (embedded JRE)


Best regards,
Tobi



Am 04.10.2011 um 17:55 schrieb Mike Swingler:

> 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