Matlab OSX JAVA
https://docs.rc.uab.edu/
Please use the new documentation url https://docs.rc.uab.edu/ for all Research Computing documentation needs.
As a result of this move, we have deprecated use of this wiki for documentation. We are providing read-only access to the content to facilitate migration of bookmarks and to serve as an historical record. All content updates should be made at the new documentation site. The original wiki will not receive further updates.
Thank you,
The Research Computing Team
Issues with MATLAB on OSX after Java Updates
Mac OSX 10.6.x - Feb 2013
The latest update to OSX 10.6 (Update 12) updates Java to a new version that has an issue known to cause problems with 'matlabpool' on the local configuration especially with R2011b and older. Please upgrade the OS to 10.7 or use a newer version of Matlab (R2012a or newer) which have workarounds for the same.
Description: Parallel Computing Toolbox code fails with Java Virtual Machine update 1.6.0_39. Running any Parallel Computing Toolbox code using a Java Virtual Machine (JVM) version of 1.6.0_39 or later might cause a NullPointerException to be thrown by the JVM. For example:
>> matlabpool open Error using matlabpool (line 134) Java exception occurred: java.lang.NullPointerException at java.util.logging.Logger.demandLogger(Logger.java:286) at java.util.logging.Logger.getLogger(Logger.java:321)
Status: Resolved
Solution: http://www.mathworks.com/support/bugreports/919688
MAC OSX 10.7.x - March 2013
Java Update 17 - does not allow MATLAB (2012a,b and 2013a) to be installed on OSX Please do not update JAVA if you wish to install new versions of MATLAB till the Mathworks comes out with a patch for the same
Description:
Matlab installation cannot find JDK.
Installing ... ./install: line 705: /Library/Java/JavaVirtualMachines/JDK: No such file or directory Finished
Status: Workaround
Solution: If you have installed Oracle's JDK 7 (Java Developer's Kit) you have two options:
1) Install/activate manually without using Internet. MATLAB will work fine even if you have JDK 7 installed because it will still be using Apple's Java 6 that does not get removed when JDK 7 is installed.
2) Alternatively, you may uninstall JDK 7 which will let you install and activate MATLAB using Internet.