Fix order of defining JAVA_HOME in script for Tomcat6