Reputation: 359
I compiled my application with 1.6.xxx. If I try to execute in a lesser 1.6.yyy, will I get an UnsupportedClassVersionError?
Upvotes: 0
Views: 56
Reputation: 23948
No. The minor version has not been set to any value other than zero since Java 1.2, as stated in the JVM Specification:
Oracle's Java Virtual Machine implementation in JDK release 1.0.2 supports class file format versions 45.0 through 45.3 inclusive. JDK releases 1.1.* support class file format versions in the range 45.0 through 45.65535 inclusive. For k ≥ 2, JDK release 1.k supports class file format versions in the range 45.0 through 44+k.0 inclusive.
Upvotes: 1