Unable to find any JVMs matching version "1.6"

2 views (last 30 days)
I've seen this question asked multiple times but I've yet to see an answer that makes any sense to me. When I run 'ver' at the Matlab command prompt I get:
Operating System: Unable to find any JVMs matching version "1.6". java version "1.8.0_31" Java(TM) SE Runtime Environment (build 1.8.0_31-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode) java version "1.8.0_31" Java(TM) SE Runtime Environment (build 1.8.0_31-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode) java version "1.8.0_31" Java(TM) SE Runtime Environment (build 1.8.0_31-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode) Mac OS X Version: 10.14.6 Build: 18G87
Java Version: Java 1.8.0_181-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
and
>> version -java
ans =
'Java 1.8.0_181-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode'
My Mac as Java 1.8.0_181-b13 installed. What is not configured correctly?
My setup is:
Matlab R2019a
MacOS Mojave

Answers (1)

Sunil Patidar
Sunil Patidar on 2 Nov 2020
Hi John,
On macOS, MATLAB R2013b and later use a JVM which is bundled with MATLAB. Some components might not work properly under a different version of the JVM software. Hence, you may have to change the JVM that MATLAB is using.
Refer to the following MATLAB Answers link:

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Products


Release

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!