[Bug 410328] [NEW] ec2-api-tools commands require JAVA_HOME to be set

Scott Moser smoser at canonical.com
Fri Aug 7 15:59:49 BST 2009


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.



More information about the Ubuntu-server-bugs mailing list