Help books in bundled Java applications are not registered with the Help viewer
In prior versions of Java, a Java application could bundle a help book in the application and it would be automatically registered with the Help viewer. Starting in Java 1.4.1, this functionality was lost.
Java applications with bundled help books are now automatically registered with the help viewer if the Java property "apple.awt.useSystemHelp" is set to "true". If you were using the workaround provided in the HelpHook code sample, it will continue to work, but is no longer needed as of Mac OS X 10.5.
The application menu in Java applications was not localized for many languages
Java is now localized into all of Mac OS X's standard languages.
This problem is now fixed in Mac OS X 10.5.
Bundled Java applications cannot request a 64-bit Java VM
Bundled Java applications use a 32-bit Java VM by default, even on 64-bit-capable hardware.
Java applications can specify which architecture will be used for the application. To do this, add an array in the Java dictionary of the application's Info.plist named "JVMArchs". Each element in the array indicates the preferred hardware architectures you want your application to use. If the first choice is not available, the second will be used, and so on. You may also specify per-architecture settings for the Java dictionary keys "VMOptions" and "ClassPath". Use a key of "VMOptions.<architecture>" to specify Java VM options that should only be used for the specified architecture. Use a key of "ClassPath.<architecture>" to specify a class path that should be used for the specified architecture. The per-architechture values are set in addition to those specified in the non-architecture-specific key, and will override the non-architecture-specific values, if applicable.
JavaApplicationStub is not backward compatible
Old stubs are ppc-only, and do not work on 10.3.9 when QT7.1 is installed. New stubs do not work on older OS versions.
The current JavaApplicationStub works on ppc and intel and is backward compatible to 10.1.5. Note that for code developed in Xcode 3.0 to run on Java 1.3.1 references to com.apple.eawt must be removed and the property apple.laf.useScreenMenuBar will not work since both were introduced in Java 1.4. Furthermore, Java application bundles created by Xcode 3.0 are missing the PkgInfo file and appear as directories in Finder on 10.1.5. Copying a PkgInfo file from a bundle created by Jar Bundler remedies this.
Last updated: 2007-10-31