Search code examples
javaeclipseproxyp2portable-applications

Portable Eclipse : impossible to add software


I installed Eclipse on my office pc, using this procedure (64 bit): https://portableapps.com/node/53284 But when i want to create a new project, it does not propose me the usual "Java project" with minimal files written. I don't have the Java Perspective so I'm trying to install the dev tools but when I want check a software site, eclipse keeps telling me it doesn't find it.

What i have done so far:

-Putted Active Provider on "Direct" in network connections

-The Eclipse Internal Web Browser works just fine (including the repositories urls and able to download files)

-I've tryed with an "/" at the end of the urls (http://download.eclipse.org/eclipse/updates/4.13/ and http://download.eclipse.org/mpc/mars/)

-I've tryed to download http://download.eclipse.org/eclipse/updates/4.13/compositeContent.jar and opened it manually. Didn't worked.

-I've added "-Djava.net.preferIPv4Stack=true" after "-vmargs" in my eclipse.ini then restarted. Same.

It keeps searching for http://download.eclipse.org/eclipse/updates/4.13/content.xml and http://download.eclipse.org/mpc/mars/content.xml which do not exist. (Unknown Host... org.eclipse.equinox.p2.core.ProvisionException)

But I don't know how to change that into compositeContent since Eclipse starts to look for compositeContent.[xml/jar]/content.xml instead.

Could you help me?

About my Eclipse


Solution

  • It works! There was indeed a proxy on my company network, with an autoconfig file.

    I've putted my network options on "Manual" and followed the instructions there : Is there any way of configuring Eclipse IDE proxy settings via an autoproxy configuration script?

    Now it works perfectly! Thanks to howlger for helping me getting in the right direction \o/