This is not clean. I have 1.7 via Control Panel, but "java -version" command still returns 1.6.
Apple blocked anything lower than "JavaWebComponentVersionMinimum = "1.6.0_37-b06-435".
Installing Java 1.7 worked. Java Control panel says I have Java 7.
Still cannot run a app that uses Java, since it is still using Apple's java, which does not get uninstalled. Terminal command "java -version" still says Java 1.6:
XProtect versions:
$ sudo defaults read /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta
{
JavaWebComponentVersionMinimum = "1.6.0_37-b06-435";
LastModification = "Thu, 31 Jan 2013 04:41:14 GMT";
PlugInBlacklist = {
10 = {
"com.macromedia.Flash Player.plugin" = {
MinimumPlugInBundleVersion = "11.3.300.271";
};
"com.oracle.java.JavaAppletPlugin" = {
MinimumPlugInBundleVersion = "1.7.11.22";
};
};
};
Version = 1038;
}
Java command after 1.7 installed and verified:
$ java -version
java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)
Changing the "JavaWebComponentVersionMinimum" allows me to run the app. Changing it back prevents me from running the app. Why are Apple's java components not replaced? If the answer is "Apple provides those components" then why is Apple fixing 10.6, but not 10.7 or 10.8?
This is a serious problem.