Finds java paths to properly run compile and tests with correct version

java 8 can be set with either retrolambda.jdk or JAVA8_HOME
java 6 or 7 can be set with either retrolambda.oldJdk or JAVA6_HOME/JAVA7_HOME

error messages are also improved