Search code examples
javaeclipsejava-9eclipse-marketplace

Java 9 plugin from marketplace stuck at requirements calculation


When I try to install Java 9 support plugin for latest Eclipse Oxygen from Eclipse Marketplace it stops on "Calculating requirements and dependencies" step. I have completely fresh instance of Eclipse (JEE package) and both, Java 8 and 9 installed.

When I revealed "sleeping" taks in progress area I found that it stops on this step (marked with red rectangle):

enter image description here

I tried few suggestions found over internet:

  • Disable firewall (windows built in and on the router side) and windows defender
  • Disable "Contact all update sites... option from "Install new Software" window"
  • run eclipse with vm parameter -Djava.net.preferIPv4Stack=true
  • even tried to install this while running at Windows Safe Mode
  • Changed Preferences -> General -> Network connections settings
  • Install packages manually by "Install new software" window instead directly from MarketPlace

None of them helped so far. Furthermore, when entered given url into web browser window, I was able to download content.jar. This entry comes as software source only when I try to install Java 9 support. It was not present on the software sources list and enables automatically every time I retry plugin installation.

Has anyone faced similar problem and knows how to solve it? Am I missing something?


Solution

  • A partial solution to my problem was to disable apache http client, described here: Disable Apache HttpClient.

    It allowed me to go forward and install any plugin from Marketplace (actually Java9 plugin was only just one of many due to that "corrupted" URL.

    I would not treat that as a permanent solution, cause I still don't know why default configuration is not working properly, but I can move on.