mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 20:23:53 -07:00
@@ -150,7 +150,7 @@ public class Main {
|
|||||||
|
|
||||||
float javaVersion = Float.parseFloat(System.getProperty("java.class.version"));
|
float javaVersion = Float.parseFloat(System.getProperty("java.class.version"));
|
||||||
if (javaVersion < 61.0) {
|
if (javaVersion < 61.0) {
|
||||||
System.err.println("Unsupported Java detected (" + javaVersion + "). This version of Minecraft requires at least Java 11. Check your Java version with the command 'java -version'.");
|
System.err.println("Unsupported Java detected (" + javaVersion + "). This version of Minecraft requires at least Java 17. Check your Java version with the command 'java -version'.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (javaVersion > 61.0) {
|
if (javaVersion > 61.0) {
|
||||||
|
Reference in New Issue
Block a user