setting JAVA_HOME in a ~sane way
fixing apppath inclusion, adding ec2_home