Bug#575904: [eclipse] Cannot add plugins

Niels Thykier niels at thykier.net
Tue Mar 30 11:20:34 UTC 2010


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20100330/7b35361a/attachment.pgp>


More information about the pkg-java-maintainers mailing list