I, too, am having this problem with Lucid.

If I use OpenJDK, I get spam on the console saying:

$ eclipse 
Apr 2, 2010 10:49:08 PM org.apache.commons.httpclient.HttpMethodDirector 
executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: 
Invalid argument
Apr 2, 2010 10:49:08 PM org.apache.commons.httpclient.HttpMethodDirector 
executeWithRetry
INFO: Retrying request

This happens regardless of "-Djava.net.preferIPv4Stack=true" on OpenJDK.

If I try the Sun JDK using update-java-alternatives, I get:

No repository found at http://download.eclipse.org/galileo/releases/.

If I do this with the Sun JDK:

$ eclipse -Djava.net.preferIPv4Stack=true

... then everything seems to work..

Note, I have an IPv6 address on eth0 via a 6to4 tunnel on my router. I
didn't try removing it. (I would have to both remove it and block IPv6
router advertisements from being processed by the kernel.)

It seems possible that OpenJDK doesn't like the java.net.preferIPv4Stack
property, or it's not working correctly. I'm not sure if it's supported
there.

-- 
Unable to access Galileo Update and Discovery sites 
https://bugs.launchpad.net/bugs/530414
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to