Eclipse will not show plugins after installation

I used eclipse in Ubuntu 9.10 without problems. I recently upgraded to 10.04 and it seems that my ~ / .eclipse folder has been overwritten. Now I tried again to install my previous plugins, but when I restart eclipse they do not appear. I see these plugins in the "Installed software" section. I also see them in ~ / .eclipse / plugins and ~ / .eclipse / features

I did the following: Copy the plugins installed from ~ / .eclipse / plugins to / usr / lib / eclipse / plugins. The same is done for functions.

Now when I run eclipse as sudo, I see plugins. How can I make sure plugins are visible when I don't start as sudo?

+3
source share
2 answers

First about your plugins.

When you say that you see plugins, it looks like you see physical folders and banks. The best way is to use the dialog box: help => about eclipse => installation details

There are a number of informational tabs that will tell you what your configuration consists of. Including the last tab showing the eclipse initialization log.

Then you can also view the log using its highlighted view: window => show view => error log.

In general, the problem, as you describe it, seems to be related to permissions. Either in the eclipse itself, or in your workspace, or in Java itself. First I would check it out!

Now about the remote cause of your difficulties.

It seems you installed eclipse via apt. It's not obligatory.

  • apt versions are always late for stable eclipse releases.
  • You do not learn plugins when an update is applied to you.

The reason Debian people use apt is because it takes care of all the dependencies. However, an eclipse has very few external dependencies: the JRE and all and many internal dependencies. This is why you have pre-packaged eclipse packages.

In addition, using apt can lead to an unwanted update of the eclipse during your installation, when you need it less. This is what happened to you.

In the future, if you want to stay on the safe side, do not use apt, go to the eclipse download page and grab the latest stable version. It is enough to remove eclipse, although synaptic, and then reinstall the downloaded version and then reinstall your plugins. So when Natty arrives after 2 months, you no longer have to repeat everything.

+3
source

I have a fix and I tried successfully. I renamed the ~ / .eclipse directory to ~ / .eclipse_bak, launched eclipse -clean. The new ~ / .eclipse directory has been created again. Copy the files in ~ / .eclipse to the ~ / eclipse_bak directory and overwrite the files that already exist. Delete the ~ / .eclipse directory, then rename the ~ / .eclipse_bak directory to ~ / .eclipse. Run eclipse -clean again, missing plugins appear.

Maybe the ~ / .eclipse / org.eclipse.platform_version_buildId / configuration / eclipse.ini.ignored file is the main cause of this problem. But I'm not sure, because I did not reproduce the problem.

0
source

Source: https://habr.com/ru/post/1340143/


All Articles