From 582e680ae44ca711c3c7b3b04c4f3b258a1b4a12 Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 14 Sep 2017 22:37:58 +1000 Subject: No longer warn on Java 9 (nearing release) --- src/main/java/org/spigotmc/builder/Bootstrap.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/spigotmc/builder/Bootstrap.java b/src/main/java/org/spigotmc/builder/Bootstrap.java index aba3d81..5899eb2 100644 --- a/src/main/java/org/spigotmc/builder/Bootstrap.java +++ b/src/main/java/org/spigotmc/builder/Bootstrap.java @@ -14,10 +14,10 @@ public class Bootstrap return; } - if ( javaVersion != 52.0 ) + if ( javaVersion < 52.0 ) { - System.err.println( "*** WARNING *** You are not using Java 8. Java 8 is the only supported version for Minecraft versions >= 1.12." ); - System.err.println( "*** WARNING *** Please use java -version to check your version and note that early access versions of Java are not supported either." ); + System.err.println( "*** WARNING *** Outdated Java detected (" + javaVersion + "). Minecraft >= 1.12 requires at least Java 8." ); + System.err.println( "*** WARNING *** You may use java -version to double check your Java version." ); } Builder.main( args ); -- cgit v1.2.3