travis update

set JAVA_HOME to use /etc/alternatives
whitespace added for easier reading