Correction to the test for the presence of java (test now calls java -version, not just java), so that JDK 1.7 also returns the same result for the positive test as JDK 1.6.