[英]JDK 1.6 compiled code call a JDK 1.5 compiled code. what errors will we see?
If a class compiled with JDK 1.6 calls another class compiled with JDK 1.5, what kind of errors will we see? 如果使用JDK 1.6编译的类调用使用JDK 1.5编译的另一个类,我们将看到哪种错误?
You should encounter no problems doing this. 您应该不会遇到任何问题。 I have a code library with packages compiled with everything from 1.2 to 1.4 and have had absolutely no problems using it with applications compiled with Java 5 and Java 6.
我有一个代码库,其中包含从1.2到1.4的所有程序包进行编译,并且在将其与用Java 5和Java 6编译的应用程序一起使用时绝对没有问题。
I was getting the error ' Caused by: java.lang.NoClassDefFoundError :" file name 我收到错误信息' 原因:java.lang.NoClassDefFoundError :“文件名
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.