less re-running of uname to establish what OS we're dealing with + intelligent setting of JAVA_HOME + setting of EC2_HOME