Avoid setting JAVA_HOME if no JDK was found
Setup EC2 command-line tools and add to path if found