Each java class has a version stamp, older versions have lower numbers. The JVM is backward compatible, so older classes also run in a newer JVM. Version ranges are as follows:
Java 1.1 platform: 45.3-45.65535
Java 1.2 platform: 45.3-46.0
Java 1.3 platform: 45.3-47.0
Java 1.4 platform: 45.3-48.0
Java 5 class files are stamped with 49.0, and the JVM is also backward compatible. So, a 1.3 class file will run in a 1.5 JVM, but not the other way round.
注册表HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft下也有关于jdk和jre的设置
以上可以帮助解决Unsupported major.minor version 49.0问题
posted on 2007-11-01 11:13
Kevin Jiang 阅读(854)
评论(0) 编辑 收藏 所属分类:
参考手册