Use the symbolic link to "java_home".
Set "EC2_HOME" for ec2-api-tools.