In eclipse when I choose: install new software... I always have to uncheck the "Contact all update sites during install to find required software" otherwise the whole thing takes forever stuck on the Calculating requirements and dependencies.
I can't find an option for that in the Marketplace which makes the whole marketplace useless, since I get stuck on the same place.
Is there an option somewhere for this, or can I solve it in another way. Or should I switch to IntelliJ IDEA...?
If you install a plugin locally from a zip or jar file, you can simply uncheck the option : 'Contact all update sites during install to find required software'
However, this will not fix the problem completely, and in the Eclipse Marketplace there is no such option to uncheck and you can be hanged at 'Calculating requirements and dependencies' forever.
The true problem are the Available Software Sites provided in Eclipse. Basically, the option above will let Eclipse connect to each of the sites that are enabled and wait till all the sites response. Therefore, even if just 1 site is problematic and not respond, Eclipse will wait forever.
You can configure this by choosing the 'Manage' button next to 'Add' in 'Install new softwares...' or in 'Windows -> Preferences -> Install/Update -> Available Software Sites'
It is as simple as testing each of the sites in the list and Disable/Remove any sites that is unable to connect, especially externals sites added by users that may contain typos.
The above solution should work in most situations, but if it doesn't, please check your connection and disable proxy, firewall or allow Eclipse to pass through them.
In Eclipse Oxygen (jun 2017) and in Available Software Sites, I've updated the location of "Eclipse Orbit Composite" to the last buid repository in http://download.eclipse.org/tools/orbit/downloads/
Example:
From: ...download.eclipse.org/tools/orbit/downloads/drops/R20150821153341/repository/
To: ...download.eclipse.org/tools/orbit/R-builds/R20170516192513/repository
UPDATE:
Change DNS router to DNS google 8.8.8.8/8.8.4.4 works for me!
Follow these steps.
Start Eclipse, then select Help > Install New Software…. Click Add,
in the top-right corner.
In the Add Repository dialog that appears, enter “ADT Plugin” for
the Name and the following URL for the Location:
https://dl-ssl.google.com/android/eclipse/ Click OK
Note: If you have
trouble acquiring the plugin, try using “http” in the Location URL,
instead of “https” (https is preferred for security reasons)
In the Available Software dialog, select the checkbox next to
Developer Tools and click Next. In the next window, you’ll see a
list of the tools to be downloaded. Click Next. Read and accept the
license agreements, then click Finish.
Note: If you get a security warning saying that the authenticity or validity of the software can’t be established, click OK. When the installation completes, restart Eclipse.
Related
I am using Eclipse Platform Version: Photon (4.8) as my IDE.
I want to use kotlin in the same IDE, so I was trying to get it from the market space. But I am not able to download it . I tried two options.
My Network Connection Active Provider is native (window -> preferences -> Network Connections). I am able to find the Kotlin plugin but failed to download it saying that Authentication is needed.
My Network Connection Active Provider is manual(window -> preferences -> Network Connections).I have provided the authentication details for http and https. Here I am not even able to open the market space.
What is the solution for this?
Please take a look here how to do that. Go to Eclipse Marketplace, search for Kotlin.
If that doesnt work, you can still try the "Install New Software" that will do the same as explained down bellow **.
** Another option is to drag and drop (this is like a shortcut for the option above), here are the steps, just be sure you have the Eclipse Marketplace Client like the print bellow indicates.If so, you just need to drag and drop the button to your Eclipse IDE and that's it, follow the steps, next, next, next...
Continuing:
Add this line
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4
to the end of your Eclipse config.ini and try again. Keep Active Provider Native. If it doesn't work, chance Active Provider to Manual and uncheck Socks, then try again.
After you copy and paste that line, please restart Eclipse (It starts with an '-' sign, just to be clear: -Dorg.eclipse...
If that doesn't work too, then the last option is to change Active Provider to Direct and try again.
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?
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 installed the RSE plugin in Eclipse intending to either use SSH or FTP to work with files on a remote machine. I set up both an SSH and FTP connection, but neither works.
For example, here is what happens when I connect using FTP:
As you can see, the directories on the server show up, but I can't do anything with them. No sub-folders are showing up and none of the files can be opened.
I'm completely new to Eclipse, (though certainly not new to working with FTP) so I really don't know what to do to get this working.
Also, is there any way to use this with the PHP perspective at all?
First, make sure you are using the latest update site for RSE. In Eclipse, go to Preferences >> Install/Update >> Available Software Sites and check that the update site for RSE is listed correctly and it is enabled. You can learn the latest update site from the Target Management Home Page (look for an update site link next to the latest release announcement).
Once you do that, you must also have the RSE Core plugin enabled in addition to SSH or FTP services. In Eclipse, go to Help >> Install New Software. Expand the TM and RSE Uncategorized category and install the RSE Core plugin.
You should now see sub-folders, and have more options on the remote folder right-click menu. You can, for example create a remote project or import remote folders into your current project.
Your problem might be associated with the "Show files only" checkbox. In the Remote Systems perspective right-click on "Sftp Files" and try to create a new connection. In the "File Filter" dialog window make sure the "Show files only" checkbox is not checked.
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.