Giovanni Mascellani wrote:
> Package: eclipse
> Version: 3.5.2-1
> Severity: normal
> 
> I can't download additional plugins for Eclipse. The actions described
> here have been done just after deleting .eclipse and using a new workspace.
> 
>  * I open Eclipse
>  * I go to the workbench and then to the menu Help -> Add new software
>  * Eclipse tries to fetch information from the default update site
> (http://download.eclipse.org/releases/galileo/content.xml), but fails.
> It says "Unable to connect to repository http://{like before}" and
> "Invalid argument". On the console gets printed:
> [...]

Hi,

I think this is your JVM having trouble with the IPv6 java issue.

Try to start eclipse with the following options:
 -vmargs -Djava.net.preferIPv4Stack=true

Both must be present and the order is significant (eclipse ignores
arguments it does not understand, so it will not error out if it is done
wrong).
  Alternatively you can add -Djava.net.preferIPv4Stack=true on its own
line in the config.ini file after the -vmargs line (requires root
permission).

Note: This workaround is tested with openjdk-6. For sun-java6 you may
have to use the workaround described in #560056 and gcj is generally not
supported for running eclipse.

You may also find [1] interesting.

~Niels

[1]
https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/541482

Attachment: signature.asc
Description: OpenPGP digital signature

__
This is the Java team's maintainer address
<http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers>. Please 
use
[email protected] for discussions and questions.

Reply via email to