Due to the different JDK versions installed on 2 PCs, an error occurred while moving items from one computer to another, with the following error message:
The main thing was that the JDK version of the original project was 1.8, and the JDK for the computer to be moved was 1.7, and the build The version of the JRE in path is replaced by the 1.7 version of this machine, but there is the above problem, the Internet to find a bit, the general meaning is the JDK version inconsistency caused, but the real inconsistency is because the project was compiled on the 1.8 version of the compiler run, all project properties in the compiler version is set to 1.8, all only This setting is the same as the native JDK, which is set to right-click on the project name and select the Java Compiler---in the JDK compliance on the right, select Compiler Compliance level: 1.7, consistent with native JDK version, OK.
A high-version JDK-compiled project moved to an error in eclipse of the lower version of the JDK