Remove jdk6 dependency; add JAVA_HOME path