summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2015-01-26 09:10:07 +1100
committermd_5 <git@md-5.net>2015-01-26 09:10:07 +1100
commite2b50221a7728394a14c11baab089a950012d5b5 (patch)
treea4fb1f9c0a721cda468ff46cd564d46b28bbe758
parent3ac4b16c3d3c42341bcdab9991f4e0b4b3dc037b (diff)
downloadbuildtools-e2b50221a7728394a14c11baab089a950012d5b5.tar
buildtools-e2b50221a7728394a14c11baab089a950012d5b5.tar.gz
buildtools-e2b50221a7728394a14c11baab089a950012d5b5.tar.lz
buildtools-e2b50221a7728394a14c11baab089a950012d5b5.tar.xz
buildtools-e2b50221a7728394a14c11baab089a950012d5b5.zip
Allow java 6 to be used [not advised]
-rw-r--r--src/main/java/org/spigotmc/builder/Builder.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/org/spigotmc/builder/Builder.java b/src/main/java/org/spigotmc/builder/Builder.java
index fdff65d..5451554 100644
--- a/src/main/java/org/spigotmc/builder/Builder.java
+++ b/src/main/java/org/spigotmc/builder/Builder.java
@@ -100,9 +100,8 @@ public class Builder
if ( Float.parseFloat( System.getProperty( "java.class.version" ) ) < 51.0 )
{
- System.err.println( "*** ERROR *** BuildTools should be run with Java 7 or above." );
- System.err.println( "*** ERROR *** Use java -version to check your Java version." );
- return;
+ System.err.println( "*** WARNING *** You are not using Java 7. Although this will work, it is highly discouraged due to the security issues present." );
+ System.err.println( "*** WARNING *** Use java -version to check your version and update as soon as possible." );
}
try