Java.lang.UnsupportedClassVersionError: * * * Unsupported Major.minor version 52.0

Source: Internet
Author: User
1. First, explain:

Stanford Parser and JDK version correspondence

J2SE 8 =
J2SE 7 = Wuyi,
j2se 6.0 = 1.2, J2SE 5.0 = m, jdk 1.4 = +,
jdk 1.3 = =, JDK =
46,< C8/>JDK 1.1 = 45

Unsupported Major.minor version 52.0: see unsupported you would think that JDK high version can be compatible with the lower version, but the lower version is not compatible with the high version, yes, guess right, in fact, this is the meaning. This error means that your project runs with JDK1.8, and now runs under the local Eclipse and other development tools or local environment variables for a lower version of jdk1.7 or jdk1.6, Eclipse will say: "The local JDK version is too low, This jdk1.8 compiled project run is not supported.

You have to see if your local is a 52 or a 51 or some other mistake. 2. Then configure these local JDK to be consistent:

1 to see your system's JDK environment variables are configured with the JDK version

2) windows--preferences--java--compiler--set to jdk1.8

3 java--installed jres--on this page is set to jdk1.8

4 Close this page, Project right key (or core package)--build Path (also properties)--configure build Path--java build Path--libraries the JRE System below The library is changed to jdk1.8 (see reference 3 here) to ensure that the next order and export this JDK is the same

5) The Java compiler option for the same page is changed to jdk1.8

6 the same page of the project facets--to the right of Java to 1.8 (this item can also be changed)

Reference 1:https://www.cnblogs.com/xing901022/p/4172410.html

Reference 2:http://blog.csdn.net/superit401/article/details/72731381

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.