Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Getting Java client apps to run the way you want' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Getting Java client apps to run the way you want
Authored by: zadig on Sep 18, '14 07:37:04AM

There are definitely some complications about running Java on OS X. In Mavericks, there are two Java VMs that I know of:

* The plugin used by browsers to run applets is 1.8 (Java 8) here:
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/

You *can* use that java from the command line, because that plugin contains a full Java VM. So you can type this from the command line:

/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java <the rest of whatever you want to run in Java>

* The other Java installed with Mavericks is old old old and is Java 1.6, already mentioned above. If you type "which java" in a Terminal window you get this:

/usr/bin/java

You can update *that* Java by going to Oracle's java.com (https://www.java.com/en/download/manual.jsp) and downloading/installing the latest OS X version, which is 1.7. That will let you use a more recent Java than 1.6 for programs (like Minecraft) that might care about such things.

Hope this didn't muddy things further.



[ Reply to This | # ]