Unable to find any JVMs matching version "1.6"
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
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:
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!