• Home
    • View
    • Login
    This page
    • Normal
    • Export PDF
    • Export Word
    • Attachments
    • Page Information

    Loading...
  1. Dashboard
  2. Port: MacOSX
  3. Main
  4. Installing & Using the Mac OS X Port

Installing & Using the Mac OS X Port

  • Created by Mike Swingler, last modified by Brian Beck on Jan 18, 2013

.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
  • No labels

Terms of Use
• License: GPLv2
• Privacy • Trademarks • Contact Us

Powered by a free Atlassian Confluence Open Source Project License granted to https://www.atlassian.com/software/views/opensource-community-additional-license-offer. Evaluate Confluence today.

  • Kolekti ThemeBuilder Powered by Atlassian Confluence 8.5.21
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 284, "requestCorrelationId": "f4ab461041eb9372"}