Temporary solution - downgrade to Java version 1.6.0_45
*******************
As I found it here:
http://www.mathworks.com/matlabcentral/ ... ent_156222************************************************************************************************
In Terminal, copy and paste these commands...
Check your Java 10.6 version:
/usr/libexec/java_home -v 1.6 -exec java -version
(the bad one is build 1.6.0_51-b11-457-10M4509)
Remove enough of the new Java version to allow re-installation of Java 1.6.0_45:
sudo rm -rf /System/Library/Java/JavaVirtualMachines
sudo rm -rf /System/Library/Frameworks/JavaVM.framework
Find which package is installed on your machine:
pkgutil --pkgs=.*Java.*
Substitute the appropriate package version into the 'forget' command:
sudo pkgutil --forget com.apple.pkg.JavaForMacOSX107
For OSX 10.7 & 10.8 download Java Update 2013-003 from some file sharing server like this:
http://mac.filehorse.com/download-java-for-mac/3485/Test SHA1 checksum:
openssl sha1 ~/Downloads/JavaForOSX2013-003.dmg
Result should be:
SHA1(/Users/YourName/Downloads/JavaForOSX2013-003.dmg)= 3393ff8642b6e29cacaf10fbb04f76e657cc313a
Open image, install JavaForOSX.pkg...
Check your Java 10.6 version again:
/usr/libexec/java_home -v 1.6 -exec java -version
*******************
My sw_vers
ProductName: Mac OS X
ProductVersion: 10.7.5
BuildVersion: 11G63