Don't puts when no AP
Cleaned up aliases and added JAVA_HOME