JAVA_HOME is arch sensitive