Unable to find any JVMs matching version "1.6"

5 visualizaciones (últimos 30 días)
John Komp
John Komp el 28 de Sept. de 2019
Respondida: Sunil Patidar el 2 de Nov. de 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

Respuestas (1)

Sunil Patidar
Sunil Patidar el 2 de Nov. de 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:

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by