Don't leave trailing / for JAVA_HOME