Version: 2.2

Posted: 2006-04-12

Build Requirements: Xcode 2.1 or later

Runtime Requirements: JDK 1.4.x or later

View Source Code:

Download Sample Code (“simpleJavaLauncher.zip”, 18.0K)



Description

This sample code shows how to properly instantiating the 1.4.x and future JVM's from a Core Foundation tool. Custom launchers are not supported when using JDK 1.3.1.

Document Revision History

Date Notes
2006-04-12Updated compiler options to generate 1.4 compatible bytecode.
2005-08-01Updated to produce a universal binary. No code changes were required. Fixed off by one error in utils.c when mallocing for strings.
2005-06-06Updated the sample to invoke the Java 1.5.x JVM if it exists, and explain how applications can specify a specific JVM.
2003-06-19How to launch 1.4.x and future JVM's from a Core Foundation tool.