This is a simple Java app that returns 0 if the current java version is greater than the supplied minimum. It will return a non-zero value if the java version does not meet the minimum requirements, or if the input is invalid.
This test only considers major and minor versions.
Usage
java -jar javatest.jar '1.6'