Unable to find any JVMs matching version "1.6"

2 Ansichten (letzte 30 Tage)
John Komp
John Komp am 28 Sep. 2019
Beantwortet: Sunil Patidar am 2 Nov. 2020
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

Antworten (1)

Sunil Patidar
Sunil Patidar am 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:

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by