Matlab OSX JAVA: Difference between revisions
(OSX Sierra Issues) |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
'''Issues with MATLAB on OSX after Java Updates''' | '''Issues with MATLAB on OSX after Java Updates''' | ||
{{Main_Banner}} | |||
==Mac OSX 10.6.x - Feb 2013== | ==Mac OSX 10.6.x - Feb 2013== | ||
Line 6: | Line 8: | ||
Please upgrade the OS to 10.7 or use a newer version of Matlab (R2012a or newer) | Please upgrade the OS to 10.7 or use a newer version of Matlab (R2012a or newer) | ||
which have workarounds for the same. | 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: | |||
<pre> | |||
>> 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) | |||
</pre> | |||
'''Status:''' Resolved | '''Status:''' Resolved | ||
Line 13: | Line 25: | ||
==MAC OSX 10.7.x - March 2013== | ==MAC OSX 10.7.x - March 2013== | ||
Java Update 17 - does not allow MATLAB (2012a,b and 2013a) to be installed on OSX | 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 | 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. | |||
<pre> | |||
Installing ... | |||
./install: line 705: /Library/Java/JavaVirtualMachines/JDK: No such file or directory | |||
Finished | |||
</pre> | |||
'''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. | |||
[[Category:MATLAB]][[Category:MATLAB installation]] |
Latest revision as of 12:42, 21 September 2016
Issues with MATLAB on OSX after Java Updates
HPC Web Portal now in Beta The new HPC web portal is now available. We encourage you to try it out as an alternative to traditional clients. It provides file, shell, and desktop access to the cluster within your web browser. |
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.