R2015b and Java version

5 次查看(过去 30 天)
JFz
JFz 2016-2-18
Hi, I am using R2015b and I downloaded java 1.8. But when I check in Matlab command window, my java is 1.7: >> version -java
ans =
Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot™ 64-Bit Server VM mixed mode
I don't know why Matlab is not using my newly downloaded java 1.8.
Thanks,
Jennifer

回答(1 个)

Walter Roberson
Walter Roberson 2016-2-18
You did not indicate which operating system you are using.
If you are using OS-X then the version of Java used is a legacy java, not the version installed in the operating system. Mine shows up as
Java 1.7.0_11-b21 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode

类别

Help CenterFile Exchange 中查找有关 Downloads 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by