Don't try and setup JAVA_HOME unless there's a javac available in PATH already.