java - Unsupported major.minor version 52.0 是什么原因?
PHPz
PHPz 2017-04-17 17:30:21
0
5
500

用eclipse run as 时报这个错了,遂cmd看了下,两哥们版本一样啊,所以就蒙了?请万能的网友帮帮忙

PHPz
PHPz

学习是最好的投资!

reply all(5)
洪涛

It may be that the jar package compiled by a higher version of java is relied on, and the java version used at runtime is not high enough. It may not be a problem with your own code, it may be a dependent jar package

迷茫

A jar package referenced by java was compiled using "-target version"

http://docs.oracle.com/javase/8/docs/technotes/tools/windows/javac.html

阿神

http://blog.sina.com.cn/s/blog_64ecfc2f0102uxu6.html

PHPzhong

Changed to jdk1.8 and the problem was solved. It’s a painful version

伊谢尔伦

I also encountered this problem two days ago. After thinking about it, I seemed to have updated the Android N SDK and tried to delete the N SDK. Now I don’t have this problem. I don’t know if it is the same as you.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template