JDK-8033808 Cannot enable Java in Browser
David DeHaven
david.dehaven at oracle.com
Thu Mar 6 23:27:54 UTC 2014
> $ sudo rm -r /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk
> $ java_home -V
> Matching Java Virtual Machines (3):
> 1.7.0_51, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home
> 1.6.0_65-b14-462, x86_64: "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
> 1.6.0_65-b14-462, i386: "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
You're confusing JDK with the JRE. The Java Control Panel has nothing to do with any of the JDKs installed on the system and they will never be used by the plugin or javaws (including double-clicking on a jar in Finder) nor will they be listed as available JREs in the Java Control Panel (because they're not valid JREs... they lack deployment components). Likewise, java_home does not track the JRE since it's intended to be used with JDK bundles.
The JRE is always installed to:
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin
When it's updated, it's done in-situ, replacing the old version. We do not track any other installation locations. You can downgrade to 7 by deleting JavaAppletPlugin.plugin and running the Java 7 JRE installer.
-DrD-
More information about the macosx-port-dev
mailing list