Hi, yes the cause of this issue appears to be the use of an incorrect JRE . Here is my recommendation - when MATLAB is shipped, the JRE used by the installed product is located in the directory (example for R2015a , win64):
The JRE used by your current running instance of MATLAB can be determined by the output of the following command:
Ideally, the output from the above command must point to the shipped JRE. I would recommend changing your MATLAB_JAVA environment variable to point MATLAB to use the shipped version of the JRE. This should resolve the issue.