.jdk bundle
- For developers only
- Installed in /Library/Java/JavaVirtualMachines
- Used by the /usr/bin/j* command-line tools
- May be embedded in Java IDEs, probably not appropriate for normal .apps
The "1.7.0.jdk" bundle can be copied or symlinked to ~/Library/Java/JavaVirtualMachines or /Library/Java/JavaVirtualMachines.
Once installed, the build will be discovered by /Applications/Utilities/Java Preferences.app, and found using the /usr/libexec/java_home tool, when passing it "--version 1.7".
By dragging the 1.7.0 version to the top of Java Preferences JVM list, it will become the default JVM for command line use (since CommandLine is currently the only capability it supports).
.jre bundle
- For embedding in Java-based .apps and plugins
- Should not be "installed" on the system
- Can be further stripped down if embedding app doesn't need
- unused classes in rt.jar
- unused HotSpots (client vs. server)
- unused architectures (lipo out i386 or x86_64)
- unused native libraries
Overview
Content Tools
ThemeBuilder