From 9f6b20b9d980df7551753ecd04349b10c77beb88 Mon Sep 17 00:00:00 2001 From: md_5 Date: Fri, 13 Jul 2018 18:15:37 +1000 Subject: Allow BuildTools itself to run on Java 11 --- src/main/java/org/spigotmc/builder/Bootstrap.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/org/spigotmc') diff --git a/src/main/java/org/spigotmc/builder/Bootstrap.java b/src/main/java/org/spigotmc/builder/Bootstrap.java index 1628d73..34cb95e 100644 --- a/src/main/java/org/spigotmc/builder/Bootstrap.java +++ b/src/main/java/org/spigotmc/builder/Bootstrap.java @@ -20,9 +20,9 @@ public class Bootstrap System.err.println( "*** WARNING *** You may use java -version to double check your Java version." ); } - if ( javaVersion > 54.0 ) + if ( javaVersion > 55.0 ) { - System.err.println( "*** WARNING *** Unsupported Java detected (" + javaVersion + "). BuildTools has only been tested up to Java 10. Use of development Java version is not supported." ); + System.err.println( "*** WARNING *** Unsupported Java detected (" + javaVersion + "). BuildTools has only been tested up to Java 11. Use of development Java version is not supported." ); System.err.println( "*** WARNING *** You may use java -version to double check your Java version." ); } -- cgit v1.2.3