Reworked the TestPreconditions for selecting a Java version.
Only run the scala build init test on >= java 6.