Cannot “Install New Software” in Eclipse 3.5

后端 未结 16 1056
余生分开走
余生分开走 2021-01-02 08:21

I have just installed Eclipse 3.5 for Java EE developers (\"Galileo\").

I need to add an extra plugin, but when I select the \"Install New Software ...\" menu item,

16条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-02 09:10

    I faced similar issue. To troubleshoot this issue follow these steps:

    1. Go to windows -> show view -> error.
    2. Check the error logs. In my case error was java.lang.IllegalStateException: Registry Directory not available. at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.restore
    3. I checked my config.ini which is under eclipse -> configuration folder.
    4. I found eclipse.p2.data.area has incorrect path set.
    5. I set the correct path for above key and restarted eclipse. It started working. Hope it helps

提交回复
热议问题