📅  最后修改于: 2022-03-11 14:52:27.391000             🧑  作者: Mango
Java version names in error messages:
49 = Java 5
50 = Java 6
51 = Java 7
52 = Java 8 (or 1.8)
53 = Java 9
54 = Java 10
55 = Java 11
56 = Java 12
57 = Java 13
58 = Java 14
Solutions:
1. Update your JRE to the same version as your JDK
If done manually in cmd:
2. javac --release 8 yourClass.java (of course insert wanted version number here)
3. javac -source 1.8 -target 1.8 *.java (Shows warning)