Ubuntu friendly way of finding JAVA_HOME