diff options
-rw-r--r-- | src/main/java/org/spigotmc/builder/Bootstrap.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/org/spigotmc/builder/Bootstrap.java b/src/main/java/org/spigotmc/builder/Bootstrap.java index 5899eb2..aed1838 100644 --- a/src/main/java/org/spigotmc/builder/Bootstrap.java +++ b/src/main/java/org/spigotmc/builder/Bootstrap.java @@ -20,6 +20,12 @@ public class Bootstrap System.err.println( "*** WARNING *** You may use java -version to double check your Java version." ); } + if ( javaVersion < 54.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 *** You may use java -version to double check your Java version." ); + } + Builder.main( args ); } } |