Why do I get a Java exception when invoking a user-defined Java class in MATLAB 7.5 (R2007b) on Solaris?
显示 更早的评论
I have some user-defined Java classes built using JDK version 1.6.
When I try to import and invoke the class into MATLAB 7.5 (R2007b), I get the following error message:
Warning: A Java exception occurred trying to load the com/arm/libparser/Library class:
Java exception occurred:
java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method).....
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Call MATLAB from Java 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!