Unable to find any JVMs matching version "1.6"

조회 수: 2 (최근 30일)
John Komp
John Komp 2019년 9월 28일
답변: Sunil Patidar 2020년 11월 2일
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

답변 (1개)

Sunil Patidar
Sunil Patidar 2020년 11월 2일
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:

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by