Application classpath and tools.jar
Claudio Nieder
private at claudio.ch
Sun Feb 19 13:37:27 PST 2012
Hi,
> At runtime, you could find tools.jar relative to the "java.home" system property. Alternately, you could file an enhancement request to the JavaAppLauncher to substitute a $JAVA_HOME variable like the original contributed implementation substituted $JAVAROOT, $APP_PACKAGE, and $USER_HOME.
Using a substituted variable for the bundle location could result in a JavaAppLauncher which is both simpler and more flexible by moving stuff out of the launcher code into the Info.plist.
See here an example Info.plist and the modified JavaAppLauncher.m: https://gist.github.com/1865926
claudio
--
Claudio Nieder, Talweg 6, CH-8610 Uster, Tel +4179 357 6743, www.claudio.ch
More information about the macosx-port-dev
mailing list