set javahome for ec2 commands