Matlab OSX JAVA: Difference between revisions

From Cheaha
Jump to navigation Jump to search
Line 8: Line 8:


'''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:
'''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:
</pre>
<pre>
>> matlabpool open
>> matlabpool open
Error using matlabpool (line 134)  
Error using matlabpool (line 134)  

Revision as of 18:31, 27 March 2013

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 a patch from the mathworks has been found.


Description: Matlab installation cannot find JDK.

Installing ...
./install: line 705: /Library/Java/JavaVirtualMachines/JDK: No such file or directory
Finished

Status: Contacted Mathworks support