What Matlab version support Java 8 (class file version per the JVM Specification)?
显示 更早的评论
I am trying to use Java JmDNS with Matlab R2014a but it gave me an error:
Unsupported major.minor version 52.0 (java 8).
Basically Matlab does not work with Java 8 class files.
采纳的回答
更多回答(1 个)
Pavithra Ashok Kumar
2016-1-22
编辑:Pavithra Ashok Kumar
2016-1-22
0 个投票
I understand you want to use Java 8 with MATLAB. However, MATLAB R2015b was also shipped with Java 1.7( Refer the compiler requirements here ). It is recommended not to change the java version that is shipped with MATLAB. (In your case it would be 1.7.0_11). However if you want to change the JVM that MATLAB uses, follow the link here.
类别
在 帮助中心 和 File Exchange 中查找有关 Call Java from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!