Whenever I start my copy of Eclipse, I get the following error message:
I'm not interested in those plugins (I can't use Java 8 anyway, for reasons I won't bore you with) so there's no point in having them installed.
I went to the Help --> Installation Details menu (as suggested in various posts here on SO), but there seems to be no option to uninstall a plugin, you can only see the list of plugins and view their signature / copyright info, as you can see:
The only tab that has a "uninstall" menu option is the first one ("Installed software") but it only contains eclipse stuff and a couple of other addons I installed that have nothing to do with the ones I want to remove.
So, what am I missing here?
Here's what worked for me on eclipse Neon:
Step 1: Uninstall...
After "Uninstall", the some stuff is still registered and listed in "Plug-ins" under Installation Details. There is no option to uninstall or delete plug-ins in that view.
The following steps are outside eclipse
Step 2: Delete plug-in files from .p2/pool/ directory (plugins and features)
Result: The plugins were no longer registered or listed in "Plug-ins" list. Start-up showed annoying errors about icons that are not found.
Step 3: start eclipse with -clearPersistedState option
The missing icons error disappeared, but it was not possible to install the plugin again: Eclipse had registered somehow that the plugin was already downloaded and complained that the files were missing instead of downloading them again.
Step 4: Clean references to plugin from .p2/pool/artifacts.xml
Didn't really help, plugin could still no be installed. Not sure if this step is any good.
Step 5: Clean cache from .eclipse directory, primarily from .eclipse/org.eclipse.oomph.p2/cache
After clearing a number of directories in .eclipse, primarily caches, I was able to install the plugin again.
Maybe step 4 or 5 could be replaced by hitting "Reload" in the "Available Software Sites" preferences view?
Related
I just installed Eclipse Photon. I migraded one project from Oxygen to it - everything is working fine.
The problem I noticed is that I cannot open the Eclipse Marketplace. Whenever I click on it, I get the loading circle for 1-2 seconds then nothing happens.
I also tried this on a completely new empty workspace (so no old .metadata) - same behavior.
I also restarted PC - didn't help.
Any ideas? Is it me only that has this problem or is it a bug due to the new version?
Thanks.
I managed to find the problem and fix it. I went to:
Help -> About Eclipse IDE -> clicked on "Installation Details" -> tab "Configuration" -> Clicked on "View Error Log"
The default browser opened and there I noticed the following stack trace:
!ENTRY org.eclipse.ui 4 0 2018-06-28 10:38:21.036
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.e4.core.di.InjectionException: java.lang.IllegalArgumentException: Illegal character in path at index 16: file:/C:/Eclipse Photon/eclipse/configuration/
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:65)
It was the space character in the folder named by me: "Eclipse Photon". I renamed it to "EclipsePhoton" and the marketplace opened successfully.
Short answer: Make sure you do not have any spaces in the Eclipse installation file path.
I fixed the issue with the solution from this link: https://www.chrisguindon.com/post/marketplace-client-not-opening-in-photon/
Steps:
Go to Help > Install New Software
Paste the Marketplace Client update site url into the “Work with”
field: http://download.eclipse.org/mpc/photon
Select the “EPP Marketplace Client” checkbox
Follow the wizard and restart your Eclipse to finish the
installation.
Addition to actunderdc answer:
He is right. There is a bug if there is a space in the installation path. If you want to install in the Program Files folder, you can use the windows shortnames.
Find the shortname of the folder in cmd by using dir /X. For C:\Program Files it is something like PROGRAM~1.
When you got the shortname, you can add the folowing at the top of your eclipse.ini File in the same directory of the eclipse.exe
-launcher
C:\PROGRAM~1\eclipse\jee\photon
Make sure to adjust it to your installation path. After you have done this, marketplace can be opened. But when I open Help -> About -> Instalation Details -> Configuration it shows me two -launcher parameters with the long and the short name. I don't know, if it could cause sideeffects.
I opened a Bugreport at bugs.eclipse.org.
Had similar problem, this is what I did:
NOTE: If you have any other firewall software then make sure to allow eclipse though it & also check if your computer's time is proper(else leave this).
Open Eclipse >
Help >
Install New Software.. >
Enter link in work with " http://download.eclipse.org/mpc/photon/ " >
(after lodaing) select the EPP Marketplace Client and install it
I had error while installing it, I just allowed eclipse through firewall then marketplace client updated smoothly. Then I restarted eclipse and marketplace opened.
Hope this helps.
I had this problem on my Ubuntu 18.04 machine, none of the above helped.
After hours of searching, I found a working solution: enable theming under Window - Preferences - General - Appearance
I had this disabled, so Eclipse uses my GTK Theme (Arc dark) and looks better.
But enabling it makes Marketplace start again.
The stacktrace in the Eclipse error log (Window - Show View - Error Log) contained a hint that lead me to the theming option.
First when trying to use WindowBuilder (SWT) in Eclipse JEE 4.8 you must remove all spaces from your Eclipse folder name that contains all its files. This first step was discovered via link:
Eclipse Photon - Eclipse Marketplace not launching
Secondly, is this link tells the second half of the mystery. If you go to:
http://download.eclipse.org/windowbuilder/WB/integration/4.8/
you will see on the left hand side "show directory contents" which will have "repository.zip" file as last file of this expanded list. Download this (~39Mb). Note path to this file, then in eclipse click on "help" (last menu item), then click on "Install New Software...", then click "add", then click "archive" and go to path of saved "repository.zip" and select it. You will see square check box now indicates file to install.
I believe one must then click "continue" (check box already checked for WindowBuilder install item), then confirm when all files to be installed show are shown on screen, then finally click "finish". After the file is loaded in archive step I am not sure of the exact verbiage used for remaining steps but I believe what I have said is mostly accurate and after adding archive it will be self evident (piece of cake) what steps to follow. Finally to check if Window builder is installed go to (in top menu items) "file" then "new" then "other" and then finally scroll down list and WindowBuilder should be in this list, otherwise you landed a goose egg and something went wrong.
Change your folder name eclipse photon to eclipsephoton if any space in your folder name its not open Eclipse Marketplace
I had the same problem. I solved it by changing the name of the folder where eclipse was installed, the name i had used for the folder had a space and that was precisely preventing the use of the market place in eclipse, i removed the space and it worked normally.
For Ubuntu 20.04,
Just remove the spaces in your folder name of the eclipse folder and try closing and reopening the eclipse.It will works!!!
I had made an maven project and it worked fine.
Then I installed plugins
EclEmma Java Code Coverage,
PHP Development Tools (PDT),
Eclipse.orgSonarQube
Then I worked on some other project. When I again wanted to create an maven project,it threw the following error window which said
The selected wizard could not be started
reason
plug-in org.eclipse.m2e.core.ui was unable to load class
org.eclipse.m2e.core.ui.internal wizards.MavenProjectWizard
Removed SonarQube plugin .This solved the issue.
Now it works all fine.
But is there any other solution to this problem since I have to use sonar.
Click on eclipse help tab and open installation details search sonar and remove all related plugins.
That's not quite the right characterization of what it says on the page,Please check your .log file /path/workspace/.metadata/
Find the correct plugin which is causing this problem and update to compatible version of the plugin with eclipse version.
To find the hidden files in the workspace use Ctrl+H
I had the same problem, and I've tried so many solutions. But what I did to solve the problem, is that I just upgraded my Eclipse IDE (2019-06 to 2020-03) by following these steps (from https://wiki.eclipse.org/FAQ_How_do_I_upgrade_Eclipse_IDE%3F) :
You first need to add the new release's repository as follows:
1-1. Window > Preferences > Install/Update > Available Software Sites
1-2. Click 'Add'
1-3. Enter the URL https://download.eclipse.org/releases/2020-03/
1-4. Click 'Ok'
Help > Check for Updates
If updates are found, proceed through the install wizard and restart the IDE when
prompted. Otherwise, read carefully the error message to find out which component
is conflicting and establish your resolution strategy.
Note that the start splash screen may be cached and will not necessarily be
updated to the latest version after the IDE is restarted. Performing a full
relaunch should display the new version number.
I launched Eclipse earlier to jot down a snippet and was faced with the following as an error when I tried to run a fresh project:
An internal error occurred during: "Compute launch button tooltip".
That popup window shows as soon as I mouse-over the run icon in the top bar, or if I right click on the class in the explorer window and select any of the run/debug options.
After doing some research on the error, I see several people who posted similar messages but they all have been fresh installs of Eclipse. So note that this is not a fresh install, and that Eclipse was working fine earlier today. Also note that not only does my new project not run (with the normal main method), but projects I was running earlier have all stopped working with the same error.
Finally, also be aware that after seeing other people's suggestions on fixing this, one specifically said to select run configurations from the top of the page run menu. When I selected run configurations from this dropdown, I got the following message:
Exception occurred creating launch configuration tabs
Reason: Plug-in org.eclipse.jdt.debug.ui was unable to load class org.eclipse.jdt.internal.debug.ui.launcher.LocalJavaApplicationTabGroup
After that message, the run window opens but all of the tabs are missing. Like where you can set the display width and height, and the other tabs, they are all missing from the window now.
I was using Eclipse trouble free earlier today and I am sure no updates took place between when Eclipse was working and now. My question is of multiple parts: What is wrong in a nutshell? What could have caused this?
Got this from another site of some guy who got this same error after upgrading.
Worked for me as well.
Apparently putting the following line in your eclipse.ini helps:
-Dcom.ibm.icu.util.TimeZone.DefaultTimeZoneType=ICU
Try setting the launch properties in:
Window>Preferences>Run/Debug(Expand)>Launching(Click)
Under launch Operations menu set it to:
Always launch the previously launched application
Click:
Apply>Ok
I never found out what went wrong, but a reinstall of eclipse fixed it. All projects survived seemingly undamaged.
Thanks for the reply on the .ini but that did no good.
I had same error today - in an eclipse installation (Juno SR2 64bit) that has been running fine for months.
0: There were no changes on svn for my projects since yesterday (when it was running fine).
1: I restored the workspace from a 'Windows 7 -> Properties -> previous copy' backup. This failed because the directory structure of the '.metadata' contains folders with a deeper structure than is supported.
2: I restored the workspace from a overnight archive (gzipped so file depth is not an issue).
This had no effect.
3: I tried to restore the eclipse installation directory (which seems to be updated an awful lot) from a 'Windows 7 -> Properties -> previous copy' backup. Again this failed - because of folder-depth issues (Note: it is installed in the root directory of my disk - so there is actually no way to use a restore on this installation!)
4: Had to delete the .metadata from my workspace and reinstall eclipse (and all the additional plugins), and re-import my projects, and setup all the servers, and android, etc, which took many hours.
The moral of the story? Backup both your workspace AND the eclipse installation every night manually. Windows Restore will NOT save you. Backing up your workspace is NOT enough.
I had the same problem using eclipse mars. I cleared the folder .recommenders\index
And that solved my issue.
Hope it helps.
incase you are having the eclipse files which you have downloaded from the official site .Just extract those file in the same folder where your previous eclipse was installed and select replace all.
best solution
I also encountered this issue, the reason why this issue occurred on my project was due to I was missing the JRE System Library in the root folder of my project.
To solve this issue, make sure you have the libraries like JRE System Libraries on the root folder of your project.
I'm trying to get the GNATbench plugin to work with Eclipse. I put the plugin and feature files in the correct places. I restart Eclipse and I am now given the option to create a new Ada project but when I try to do it I get this error:
The selected wizard could not be started. Plug-in com.adacore.gnatbench.cdt was unable to load class
com.adacore.gnatbench.ui.internal.wizards.NewAdaProject. An error
occurred while automatically activating bundle
com.adacore.gnatbench.ui (235).
Any idea what is causing this?
This is the issue you'll see if you attempt to use GNATbench with the 64-bit version of Eclipse. As the system requirements note in the readme, it's only compatible with the 32-bit version. I just did a quick test, which confirmed the issue.
I checked the README file of this plugin, it says this is required:
"C/C++ Development Tools (CDT) plug-in for Eclipse 3.5.x or 3.6.x"
Have you installed that?
The other important thing is that the downloaded archive file is actually a P2 repository installable file. In this case I would unzip a new eclipse (or remove manually the related plugins you copied over, this is the hard way), start it, click on help/install new software, click add, select archive, point to your downloaded GNATbench zip file, select the 2 features appearing on the avail "software" list and continue the wizard normally (next, finish...). If there is a version problem the wizard should "validate" it.
There was a plugin for Ada called Hibachi, IIRC... I'm not sure where it stands on development or completeness though.
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, nothing happens. Literally nothing - no dialog opens, no error message is displayed. If I have the Debug window open, no message are displayed.
If I go to Preferences -> Install/Update -> Available Software Sites, that dialog opens OK, I can manage the list of update sites, and test the connections, and they all appear OK. But I cannot get to use them to actually install anything.
Is it just broken, or could there be something more subtle wrong?
Thanks.
Start by checking you error log under Window -> Show View -> Error Log. See if you're getting any exception while trying to install new software.
You can also install by downloading the plugin and unzipping it in the dropins folder.
I ran into the same problem. There seems to be a bug related to the finish button (I am assuming this is the same problem you are experiencing). The way I got around it is by clicking on the finish button (or next, or whichever button is not working for you) and press the 'Enter' key. It's annoying. Seems to be an issue with how Eclipse is integrating with GTK.
I had the same problem, took a look at the error log and changed the launcher from "/usr/bin/eclipse" to "sudo /usr/bin/eclipse", it was a permissions thing...
GDK_NATIVE_WINDOWS=true also solved the non-clickable button problem for me running gnome 2.28.1 with Ubuntu Karmic (9.10) x64 with kernel 2.6.31-14-generic
To resolve this problem, I did the following:
Placed my copy of Eclipse in the trash
Emptied my trash
Rebooted my computer
Downloaded the latest version of Eclipse (which was Indigo at the time of writing)
Placed the .zip file in my applications folder
Double-clicked on the compressed zip to open it (I'm using Mac OS X.6)
The problem disappeared. I am now able to do Help/Install new software....
I suggest to use Eclipse Indigo (Eclipse 3.7) which contains EGit already.
Something you can try:
Delete (rename/move) your workspace and try again. Be sure to backup all your projects and settings.
Download the plugin "manually" and use Eclipse>Window>Preferences>Install/Update>Available Software Sites to add it locally.
Download the plugin "manually" and use Eclipse>Window>Help>Software Updates>Available Software>Add site>Archive, find the directory on your HDD and add it.
I had the same problem in windows... and spent couple of hours to "somehow" install the new softwares.
Anyway I will explain you how I managed to install it after trying many options..
Start a fresh copy of eclipse
First tick two check boxes(Show only latest version & Contact all update sites). Make sure the check box of group items is untick.
Try to add software...
If not showing the list of plugins/Next buttons.
Delete the copy of eclipse.
Start a fresh copy of eclipse
Tick only the check box for Contact all update sites.
Now try to add plugins. It worked for me...
Even if it sounds crap... it worked for me..
If none of the solutions above work for you, simply change the workspace to another location. If the list of items appears properly then there's probably something screwed up in the workspace and not Eclipse. Hope this helps.
I actually just had a similar problem and wanted to offer the solution that worked for me. This was not a permissions thing. To solve that I always install eclipse as my user in my local directory (e.g. /home/[user]/local/eclipse-3.7.2) and then you never have permission issues.
Setup: Go to Help -> Install New software -> Available Software Sites (to add new site)
Symptom: Try to add a new site. After hitting enter or clicking finish the site shows up in the list of available sites. Click Okay to go back to the install new software and the site is not available in the drop down. Go back to Available sites and the site is gone.
Fix: After adding the site click on the reload button while the new site is highlighted (before clicking Ok to go back to the "Install new software screen"
This was occurring on Indigo SR2 (and has been happening for a while). I am running this on Linux Gtk -- but I don't see why this would be related.
Hope this helps!
Delete your ~/.eclipse folder and restart eclipse. This is the only thing that worked for me.
I had the exact the same problem. What I found out is that I installed the eclipse as root user. Therefore, I need to be a root user in order to launch "Install New Software".
just press enter after entering URL in "Install new software" window
I faced similar issue. To troubleshoot this issue follow these steps:
Go to windows -> show view -> error.
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
I checked my config.ini which is under eclipse -> configuration folder.
I found eclipse.p2.data.area has incorrect path set.
I set the correct path for above key and restarted eclipse. It started working.
Hope it helps
I have faced the same issue. To solve the problem, follow the following steps:
Window (Eclipse Menu) -> Show View -> Error Log
if Error Log is not there, then:
Window (Menu) -> Show View -> Other -> General -> Error Log
Once the Error log is shown, Go to Help (Eclipse Menu) -> Install New Software
Check the Error log, most probable you will see an exception there.
Check the exception, most probable it's caused by java.lang.IllegalStateException
Check the path mentioned in the exception, if you see ".Lock" in the path, close the eclipse then go to the path in windows machine and delete that folder.
now go to the eclipse "exe" file that you're using and open it as an administrator, then try, most probably this will solve the issue.
I`m wondering if this help you.
Let me know if you have any queries.