It is a problem that Chrome doesn't support java 7 on OSX. So after I got my mac I disabled java 7 and turn back to java 6 so as to use the 32-bit chrome (I have no idea why chrome abandoned the ones that are eager to use chrome on their mac with Lion or Mountain Lion. And why OSX started to abandon Oracle's Java by taking away the Java Preference in the System Preference).
Anyway, now I need switched back to Safari to run some cool applets on Prof. Perlin's home page. Then I found that Safari always remind me to update to the latest version of java even if I download java 7 already. Also, the testing page doesn't work at all even all the solutions listed have been tried. This was due to the version under 1.7.10.22 has security problems and safari started to block java. So the solution you can try, is to type the following command, or open the file with administration privilege:
cd /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources
sudo vim XProtect.meta.plist
You will see that
Now we can see that the Minimum PlugInBundleVersion is 1.7.11.22 (While my version is 1.7.11.21). So all we need to do is change this number to a version that is lower than what we have right now then Java should work smoothly.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
Also, if you want to bring up the Java Console, Java 7 has the Java in System Preference. There are bunch of settings you can play with. If you want to get back the Java Preference which has been taken away by OSX, go to download and install the dmg package called Java Essential, then you can choose the preferred version of Java.
No comments:
Post a Comment