Commits

md_5 authored 9f6b20b9d98
Allow BuildTools itself to run on Java 11
No tags

src/main/java/org/spigotmc/builder/Bootstrap.java

Modified
13 13 System.err.println( "You may use java -version to double check your Java version." );
14 14 return;
15 15 }
16 16
17 17 if ( javaVersion < 52.0 )
18 18 {
19 19 System.err.println( "*** WARNING *** Outdated Java detected (" + javaVersion + "). Minecraft >= 1.12 requires at least Java 8." );
20 20 System.err.println( "*** WARNING *** You may use java -version to double check your Java version." );
21 21 }
22 22
23 - if ( javaVersion > 54.0 )
23 + if ( javaVersion > 55.0 )
24 24 {
25 - 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." );
25 + 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." );
26 26 System.err.println( "*** WARNING *** You may use java -version to double check your Java version." );
27 27 }
28 28
29 29 Builder.main( args );
30 30 }
31 31 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut