Fix logic for Java 7.
Adds Java 7.
Install all the Javas defined.
Link the jdk<version> directory to the latest JDK.