Public bug reported:

ec2 commands require that you set JAVA_HOME to find java.
Instead this just invoke 'java' from the path.
example:
$ ec2-describe-images -o self -o amazon
/usr/bin/ec2-cmd: line 17: JAVA_HOME: JAVA_HOME is not set

The issue is in /usr/bin/ec2-cmd, where its final lines do:

CMD=$1
shift
"$JAVA_HOME/bin/java" $EC2_JVM_ARGS $cygprop -classpath "$CP" 
com.amazon.aes.webservices.client.cmd.$CMD "$@"

** Affects: ec2-api-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
ec2-api-tools commands require JAVA_HOME to be set
https://bugs.launchpad.net/bugs/410328
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ec2-api-tools in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to