Unlike Java 5, which introduced major language syntax changes, Java 6 concentrated on the JVM, APIs, and runtime performance.
echo "Main-Class: HelloWorld" > Manifest.txt jar cvfm HelloWorld.jar Manifest.txt HelloWorld.class java -jar HelloWorld.jar java 1.6.0
If you are compiling code for Java 6 using a modern IDE (IntelliJ/Eclipse): Unlike Java 5, which introduced major language syntax
: