Unsupported major.minor version 原理
2016-04-12 11:14
239 查看
常常看到这样的消息: Unsupported major.minor version 51.0
原因:class文件编译时的jdk版本高于运行时的jdk版本。jdk向下兼容,向上不兼容,因此需要使用大于等于编译时版本的jdk才能正常运行。
各版本信息如下:
J2SE 8 = 52,
J2SE 7 = 51,
J2SE 6.0 = 50,
J2SE 5.0 = 49,
JDK 1.4 = 48,
JDK 1.3 = 47,
JDK 1.2 = 46,
JDK 1.1 = 45
原因:class文件编译时的jdk版本高于运行时的jdk版本。jdk向下兼容,向上不兼容,因此需要使用大于等于编译时版本的jdk才能正常运行。
各版本信息如下:
J2SE 8 = 52,
J2SE 7 = 51,
J2SE 6.0 = 50,
J2SE 5.0 = 49,
JDK 1.4 = 48,
JDK 1.3 = 47,
JDK 1.2 = 46,
JDK 1.1 = 45
相关文章推荐
- 欢迎使用CSDN-markdown编辑器
- STL Algorithms in Action
- Scalaz(38)- Free :Coproduct-Monadic语句组合
- WindowsCE project missing Microsoft.CompactFramework.CSharp.targets in Visual Studio 2008
- STL sort 的用法
- 高性能MySQL笔记-第5章Indexing for High Performance-003索引的作用
- 元组的cmp()内建函数
- android大文件上传断点续传
- dequeueReusableCellWithIdentifier: 与dequeueReusableCellWithIdentifier: forIndexPath:的区别
- ios运行内存
- Android编程实现可滑动的开关效果(附demo源码下载)
- Springcache 应用配置说明
- BZOJ 3576: [Hnoi2014]江南乐
- 奇虎360 QConf 配置管理工具安装使用文档
- 网络备忘之参考资料
- oracle EM中accessibility mode为disable解决方案
- Maven编译error LifecyclePhaseNotFoundException
- iPhone键盘自定义及通知
- 如何真正的从细节上节省网站用户的时间
- day01