summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2017-09-14 22:37:58 +1000
committermd_5 <git@md-5.net>2017-09-14 22:37:58 +1000
commit582e680ae44ca711c3c7b3b04c4f3b258a1b4a12 (patch)
tree020ba30aae555055cfa80eb71b4f61961b6b92f2
parent76b15f3109d771916f41d6e9433d0fe794a9ed32 (diff)
downloadbuildtools-582e680ae44ca711c3c7b3b04c4f3b258a1b4a12.tar
buildtools-582e680ae44ca711c3c7b3b04c4f3b258a1b4a12.tar.gz
buildtools-582e680ae44ca711c3c7b3b04c4f3b258a1b4a12.tar.lz
buildtools-582e680ae44ca711c3c7b3b04c4f3b258a1b4a12.tar.xz
buildtools-582e680ae44ca711c3c7b3b04c4f3b258a1b4a12.zip
No longer warn on Java 9 (nearing release)
-rw-r--r--src/main/java/org/spigotmc/builder/Bootstrap.java6
1 files 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 );