Commits

md_5 authored e2b50221a77
Allow java 6 to be used [not advised]
No tags

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

Modified
93 93 if ( "--dev".equals( s ) )
94 94 {
95 95 dev = true;
96 96 }
97 97 }
98 98
99 99 logOutput();
100 100
101 101 if ( Float.parseFloat( System.getProperty( "java.class.version" ) ) < 51.0 )
102 102 {
103 - System.err.println( "*** ERROR *** BuildTools should be run with Java 7 or above." );
104 - System.err.println( "*** ERROR *** Use java -version to check your Java version." );
105 - return;
103 + System.err.println( "*** WARNING *** You are not using Java 7. Although this will work, it is highly discouraged due to the security issues present." );
104 + System.err.println( "*** WARNING *** Use java -version to check your version and update as soon as possible." );
106 105 }
107 106
108 107 try
109 108 {
110 109 runProcess( CWD, "bash", "-c", "exit" );
111 110 } catch ( Exception ex )
112 111 {
113 112 System.out.println( "You must run this jar through bash (msysgit)" );
114 113 System.exit( 1 );
115 114 }

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

Add shortcut