don't set JAVA_HOME unless node.java is present
Merge pull request #314 from travis-ci/sf-conditional-java-home

Don't set JAVA_HOME unless node.java is present