How can I update my Eclipse installation (e..g overcome the "annot complete the install because one or more required items could not be found" error)? - eclipse

I’m using Eclipse Juno on Mac 10.9.1 (Java 6). I’m trying to update my Eclipse installation by clicking the “Help” menu and selecting “Check For Updates”. However, when I click on the “Eclipse IDE for Java EE Developers” checkbox that appears after I see a message “The operation cannot be completed. See the details:” and all that is displayed in the details are
Cannot complete the install because one or more required items could not be found.
Any ideas how I can troubleshoot this further and update my Eclipse installation?

Related

Can't add Java Applications in Eclipse Run Configurations after upgrading to 4.7

My application isn't running correctly with Java 9. In order to debug it, I upgraded to Eclipse 4.7 (oxygen) since Neon doesn't have Java 9 support, and applied the Java 9 support patch.
After doing so, eclipse was failing to load any of my pre-existing Java Applications. Thinking it might be a version difference thing, I deleted them, to try re-adding. But when I click the "New" button to add a configuration, nothing happens.
If I double-click "Java Application," I get the following error:
An error has occurred. See error log for more details.
tried to access method org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.getTabViewer()Lorg/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer; from class org.eclipse.jdt.internal.debug.ui.launcher.LocalJavaApplicationTabGroup
I am able to add configurations for other types of applications (Java Applet, Eclipse Application) so it seems only to be an issue with Java Applications.
I also tried a fresh workspace, but that has the same issue. How can I fix this?
This is kind of a duplicate but since I experienced the issue and have seen a few others post about it, I'll post my answer of how I fixed it here.
If you go here: https://marketplace.eclipse.org/content/java-9-support-beta-oxygen/
You need to follow the step about updating Eclipse 4.7 from the link that ends in 4.7-U-builds. When you go to Install New Software and select Eclipse SDK, click Next until you get to the Install Remediation Page, and make sure that you are selecting the second option that says something like "update my installation to be compatible with the items being installed" instead of the option that says "keep my installation the same and modify the items being installed to be compatible."
The first time I installed Java 9 updates, I did it the latter way and ran into this problem. Now that I've gone back and chosen the former, I am able to add Java Application Run Configurations again.
Hope this helps.
Eclipse Oxygen.1a (4.7.1a) Release
Update as of 11 October,2017 - You shall upgrade to the latest eclipse package Eclipse Oxygen.1a (4.7.1a) which is marked as released and supports Java 9.

Installing Findbugs plugin for MyEclipse

I am trying to install Findbugs plugin for MyEclipse 6.0.1 using follwing steps:
In Eclipse, click on Help -> Software Update -> Find and Install...
Choose the Search for new features to install option, and click Next.
Click New Remote Site.
Enter the following:
Name: FindBugs update site
URL: one of the following (note: no final slash on the url)
http://findbugs.cs.umd.edu/eclipse for official releases and click OK.
"FindBugs update site" should appear under Sites to include in search.
Click the checkbox next to it to select it, and click Finish.
As soon as I click Finish eclipse shows me error saying "No features found on selected sites".
Can anyone plz tell me how should I proceed for Findbugs plugin inatallation in MyEclipse v6.0.1.
MyEclipse 6.6 is based on eclipse 3.3, so I assume 6.0 is also based on eclipse 3.3. That version of MyEclipse is now unsupported. However, you might be able to download the Findbugs plugin from here (which also list several update sites) and install it manually. I don't recall how to add plugins manually to eclipse 3.3 but there is probably a section in the help that comes with MyEclipse.

Error in eclipse: “The project cannot be built until build path errors are resolved”

My eclipse project shows up but with a red exclamation mark and an error saying:
Build path specifies execution envoirnment JRE-1.1. There are no compatible JREs installed in the workspace
Unbound classpath container : 'JRE System Library [JRE -1.1]' in project Automation
I checked if all the libraries are present or not as mentioned in the error, and tried to import the missing jar into project but when I clicked on JRE System Library [JRE -1.1] to import it. its showing
"An error has occurred. See error log for more details.
java.lang.NullPointerException"
Can somebody help me out with this?
I was getting the same NullPointerException in Eclipse that came with Android SDK, then I did the following (explaining in step by step process):
Go to Help and click on Install New Softwares.
A Install window will open, click on "All available sites' and then there will be a text box to search for the softwares you want to install, enter 'Eclipse' there.
A lots of Eclipse related softwares will come up. Select Eclipse Platform, Eclipse Platform SDK and Eclipse SDK and then click Next...Next...(and all the Next)...Accept All the Agreements...Finish.
In some time it will install all the softwares and you'll have to restart the eclipse and you'll be good to go.
This resolved my issue. Hope this helps you.

Glassfish 3.1.2 and Eclipse Indigo Plugin

My freshly installed Eclipse Indigo SR2 with the new Glassfish 3.1.2 Plugin creates on every start a new "Internal GlassFish 3.1.2" Server.
How can I prevent this behavior? Does somebody already use this configuration?
This bug has been recently fixed - here is the guide how to install the new fixed runtime plugin: https://blogs.oracle.com/piotrik/entry/bug_fix_for_eclipse_runtime
I've faced the same issue and my workaround is uninstall the "Glassfish 3.1.2 Application Server Runtime" from the Eclipse. Please make a full backup for our Eclipse first.
It can be done by the following step: -
Go to "Help" menu ---> "About Eclipse".
Click "Installation Details" button.
The system will display the "Eclipse Installation Details" windows.
Go to "Installed Software" tab.
Find the "Glassfish 3.1.2 Application Server Runtime" in the list and click it. Please note it is sorted alphabetically.
Click "Uninstall..." button
The "Uninstall" windows will display, please review and click the "Finish" button for uninstalling.
Edit: We need to start the Eclipse with "clean" option after it is uninstalled.
I download the Glassfish 3.1.2 Open Source Edition form here and install to my machine. Then register the new installed Glassfish 3.1.2 to the Eclipse.
Regarding to my opinion, I thought that it would be nice if I use the Glassfish out side the Eclipse plugin / workspace folder.

Update eclipse from galileo to helios on kubuntu

I installed eclipse galileo from kubuntu package manager. For some reason, there is no helios available yet. Then I tried to manually install helios, but when I run it, I get message: "The Eclipse executable launcher was unable to locate its companion shared library."
Then I opened galileo, and installed PDT from helio update site. But due to some galileo - helios incompatability, I get error:
java.lang.NoClassDefFoundError: org/eclipse/wst/css/ui/internal/contentassist/CSSStructuredContentAssistProcessor
when I try to open PHP file.
I read on http://wiki.eclipse.org/FAQ_How_do_I_update_Eclipse%3F that I can update to helios if I add helios update site in Window > Preferences > Install/Update > Available Software Sites, which I tried, but when i run "check for updates" it says that there is nothing to update.
Any idea how to get helios PDT installed on kubuntu?
I would recommend that you download the Eclipse IDE for PHP Developers package from here:
http://www.eclipse.org/downloads/
Make sure that you get one that's correct for your OS and pay particular attention to 32/64 bit variation. You have to match 32/64 bitness of Eclipse with 32/64 bitness of your JVM. Run "java -version" to see the type of JVM that you have. If you don't match these up, Eclipse will not start with a message like the one you are seeing.
For anyone having problems with eclipse Helios on Kubuntu or Ubuntu, I would suggest you remove your current installation and follow the instructions I just posted on my blog after finally getting 3.6.2 working with both the Marketplace Client and Subclipse. I just tried posting the whole entry here but it wouldn't allow the number of hyperlinks required to get the install working.