How to upgrade only two eclipse plugin - eclipse

Eclipse has its own built-in Java compiler. Because my eclipse is old, there are some bugs in the compiler, which blocks my works currently.
At the beginning, I tried use Help>Check for updates. This fails and upgrade does not continue because of some plugin is installed locally and the failure of checking these local directory results in exit of whole upgrade.
No repository found at file:/c:/J9%20Development%20Tools/j9dt-update-site/.
Therefore, is it possible to update only two or three plugins in Eclipse?

To remove the problematic local plugin:
Goto Help > Install New Software
Click on Available Software Sites
Uncheck the problematic item and click either Disable or Remove. Give OK.
Try updating
In recent versions of Eclipse (like Luna), you can selectively update the desired plugin.
Just go to Help > Installation Details
Select the plugin you want to update, and then click the Update... button.

Related

Eclipse update does not go away

I am using Eclipse Mars.2 Release 4.5.2.
When I check for updates Eclipse shows the following item:
Object Teams Patch for JDT/Core
This feature is NOT a regular update of the JDT, but REPLACES the org.exlipse.jdt.core plugin by the corresponding version for Object Teams.
This change makes the JDT Core capable to handle OT/J code.
When I click on finish the window goes away and Eclipse says that I need to restart for the changes to take effect. When I restart and check for updates the update is still there and not installed.
Is there a way to get rid of this update?
Do you have this feature installed? If yes and if you don't use it, I suggest you simply go an remove it (Help > About Eclipse... > Installation Details > Installed Software, you'll see an Uninstall button).
If this persists, it could be a small issue in the main Eclipse update-site, so you should report it to http://bugs.eclipse.org .

Is there some way to uninstall plugins for Eclipse Juno?

Every question dealing with uninstalling/disabling plugins for Eclipse Juno mentions an Uninstall button but I simply can't find it and Eclipse's help for Juno is sadly no help.
Has this ability been eliminated or omitted or is it in some place different for Juno?
The Uninstall... button is available from the About Eclipse dialog. From that dialog click Installation Details and it's under the Installed Software tab. This typically is only available for features, not plugins. If you can find the appropriate feature that contains the plugins you want to eliminate, that should do the trick for you.
If you are unsure of the feature containing the plugin, you can attempt to go the Installation History tab in the Installation Details window and try to Revert to a previous version of Eclipse that didn't have the plugins.
Finally, you can always manually go into your Eclipse installation folder under the plugins directory and remove them manually. This will sometimes require that you run eclipse -clean from your command line/terminal to truly get rid of the plugin. This is probably the most error prone approach as you could cause problems with features/plugins that may depend on the removed plugins.

How do I stop the SVN window from opening on Eclipse startup?

As best as I know, I don't need the svn add-on, yet it keeps opening a window on eclipse startup asking for me to choose which svn I want to use. I close the window without cheking any options, and all is well. But this window is very annoying.
I think what has happened is that you have somehow installed the Subversive plugin (maybe it is included in your Eclipse distro by default somehow). The Subversive plugin requires an additional feature to be installed, and that feature is the actual SVN libraries to use. You have a choice of SVN libraries and that is what the dialog is likely asking you to install.
See here for a detailed description:
http://www.polarion.com/products/svn/subversive/download.php#svncon
You have 2 choices:
Install a subversion connector and the dialog will never come up again. This will not harm your system and one day if you choose to use SVN, you will already have the plugin configured.
Uninstall subversive. Go to: Help -> About Eclipse -> Installation Details. Scroll down to the Subversive entries. Select them all and click "Uninstall".
Uninstall the addon.
Help → Install New Software → What is already installed? → [uninstall your SVN plugin here]
Sometimes even though you uninstall subversion, there are still some plugins related to SVN that remaining. You can see them in [Installation details -> Plugins].
Go to your eclipse installation folder (e.g. C:\Eclipse on windows, /Applications/Eclipse on Mac OS X) then plugins folder and remove every file starting with "org.eclipse.team.svn"
You can see the list of the files that need to be removed from Plugins section of Installation details.
Try giving it a fake one and see if it goes away? :)

Uninstalling and Deleting plug-ins from eclipse

I am uninstalling a plugin named X from eclipse uninstall option.
Now to make a clear approach I went to the eclipse plugins directory and delete the plugin jar file from there.
Now I am trying to reinstall the same plug-in and eclipse prompts an error saying
An error occurred during the
org.eclipse.equinox.internal.p2.engine.phases.CheckTrust
phase. session context
was:(profile=epp.package.jee,
phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust,
operand=, action=). Error reading
signed content. The file
"D:\Testing\eclipse-jee-helios-SR1-win32\eclipse\plugins\x_1.1.3.jar"
does not exist
Now how to resolve the above issue
I have similar issue. I deleted those plugins related files from eclipse/plugins and eclipse/features directory. The reason why I did that is because I have already uninstalled the plugins from eclipse but the files remain in both directories.
I solved it by editing the eclipse/artifact.xml. I search all the artifacts with the id of my plugins and remove them. And I am able to reinstall the plugins again :)
You should never delete plugins you installed using the Eclipse installer under Help>Install New Software. Now there is directory used to drop in plugins as jars, which I am assuming you used, if so deleting it would result in the desired behavior assuming you shut down eclipse before hand. If not then you need clean your configuration area. In the future when removing go to Help>Install New Software>Already Installed software, there should be a remove once your there. :)
Goodluck.
As per eclipse documentation
You should not remove plug-ins from Eclipse. Plug-ins should be
installed as features using the Update Manager. The same Update
Manager can be used to disable plug-ins by disabling the feature they
belong to. Run Help > About Eclipse > Installation Details, select the
software you no longer want and click Uninstall. (On Macintosh it is
Eclipse > About Eclipse > Installation Details.) In older versions,
you might need to Run Help > Software Updates > Manage
Configuration..., select the feature of interest, and disable it with
the task shown in the right window.
When a feature is disabled, all its plug-ins will be disabled also.
They are still available on disk, and they can be enabled at any time
in the future.
To physically remove the feature and its plug-ins, you will have to
manually remove the feature from the eclipse/features directory and
its plug-ins from the eclipse/plugins directory. We advise extreme
caution here. Remove the wrong ones, and you may have quite some
trouble restoring your Eclipse to a stable state. Unless you care a
lot about hard disk use, we recommend leaving the plug-ins where they
are.
Note that when manually removing plugins as described above, some
metadata is still cached by Eclipse, which can lead to problems later
on. Running Eclipse with the -clean option can help with that, as it
causes Eclipse to clean the cached metadata
Thanks .. I am not sure what action actually fixed the exact problem i had.
I removed the plugin related files from plugins and features folder, removed entries from the artifact.xml file and opened eclipse with -clean option.
Run eclipse
Rename eclipse exe to eclipse.exe.back
Run updates
Updates executed successfully

Cannot find installed plugin on my Eclipse IDE after update

I have updated my ubuntu desktop and the eclipse which i was running on the system got updated automatically. After the update all the options inside the eclipse are the same as they used to be by default.. all my customization has been lost and the perspectives, project templates are no more. Now when i tried to installed the plugins, eclipse returns me that the selected plugins has already been installed..
I want to know is it common with eclipse to show this behavior after each update? How to can i get back my old customization without deleting the installed plugin folder and install them from scratch again..
I didn't met the issue you mentioned before. but I suggest you can check whether your workspace location is changed after your plugin is installed/updated.
Actually, all your eclipse plugins configuration/preferences settings are stored into your {workspace_home}.metadata folder. it's not relevant about what plugin eclipse has installed, That's the reason why each time switch workspace, you need to re-customized preferences settings.
So, if you want to protect customized settings, pls consider backup .metadata folder properly.