六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 68|回复: 0

Unsupported major.minor version 49.0

[复制链接]

升级  30.33%

83

主题

83

主题

83

主题

举人

Rank: 3Rank: 3

积分
291
 楼主| 发表于 2013-1-16 16:48:51 | 显示全部楼层 |阅读模式
My understanding of the "Unsupported major.minor version" error is that
you are trying to use a class file compiled with a newer Java version
than your JVM. The strange thing is that 1.5 (by whatever name) is
version 49. So it looks like you have a 1.4 class file, and are running it
with a VM that's older than that.


49 means that it was compiled with a 1.5 JDK. Depending on how it was compiled it may not be usable on a 1.4 JDK. The 1.5 JDK defaults to writing class files that are only compatible with 1.5. To change that, specify the -target option and, perhaps, the -source option. See the javac doc for more information.
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表