ec2-api-tools commands require JAVA_HOME to be set

Bug #410328 reported by Scott Moser on 2009-08-07
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ec2-api-tools (Ubuntu)
Undecided
Scott Moser

Bug Description

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 "$@"

Scott Moser (smoser) on 2009-08-12
Changed in ec2-api-tools (Ubuntu):
status: New → Confirmed
Scott Moser (smoser) on 2009-08-12
Changed in ec2-api-tools (Ubuntu):
assignee: nobody → Scott Moser (smoser)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ec2-api-tools - 1.3.36506-0ubuntu4

---------------
ec2-api-tools (1.3.36506-0ubuntu4) karmic; urgency=low

  * ec2-cmd: remove need for setting JAVA_HOME (LP: #410328)

 -- Scott Moser <email address hidden> Wed, 12 Aug 2009 16:20:54 -0400

Changed in ec2-api-tools (Ubuntu):
status: Confirmed → Fix Released
jberryman (brandon-m-simmons) wrote :

Will this be fixed in Jaunty or will that package remain broken?

Scott Moser (smoser) wrote :

On Wed, 28 Oct 2009, jberryman wrote:

> Will this be fixed in Jaunty or will that package remain broken?

With such an easy workaround (export JAVA_HOME=/usr), this bug doesn't
really fit the criteria for Stable Release Updates
(https://wiki.ubuntu.com/StableReleaseUpdates).

So, yes, it will likely remain broken in jaunty.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers