package org.spigotmc.builder; public class Bootstrap { public static void main(String[] args) throws Exception { float javaVersion = Float.parseFloat( System.getProperty( "java.class.version" ) ); if ( javaVersion < 51.0 ) { System.err.println( "Outdated Java detected (" + javaVersion + "). BuildTools requires at least Java 7. Please update Java and try again." ); System.err.println( "You may use java -version to double check your Java version." ); return; } 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." ); } Builder.main( args ); } }