Comment 3 for bug 542395

Revision history for this message
Scott Moser (smoser) wrote : Re: ec2-api-tools with java-6-openjdk fail with java.net.SocketException using

Also verified that this works around the problem while still using openjdk:
$ EC2_JVM_ARGS=-Djava.net.preferIPv4Stack=true ec2-describe-images

Note, ec2-describe-images calls ec2-cmd, and ec2-cmd has:
 exec java $EC2_JVM_ARGS $cygprop -classpath "$CP" com.amazon.aes.webservices.client.cmd.$CMD "$@"

so the EC2_JVM_ARGS is passed through.