I tried to manually uninstall the Eclipse CDT so that I can re-install it.
I followed the instructions here: http://wiki.eclipse.org/CDT/User/FAQ#How_do_I_uninstall_CDT.3F
and to reinstall, I followed the instructions here: https://polarssl.org/kb/compiling-and-building/setup-eclipse-cdt-environment-on-windows
However, I get an error that:
Cannot complete the request. See the error log for details.
"C/C++ Development Tools SDK" will be ignored because it is already installed.
"C/C++ Development Tools" will be ignored because it is already installed.
How can I properly reinstall CDT ?
The first time I installed, Eclipse was abruptly stopped due to a BSOD. So I decided to reinstall and here I have hit a wall :p
Eclipse does not uninstall a plugin (but just hides it from you), if there are dependencies from other plugins into your to be uninstalled plugins. For instance, if you have installed ADT with all plugins, then the Android Native Development Toolkit has a dependency to CDT and will therefore prohibit an uninstallation.
If nothing else works, you may want to try a clean re-installation. That's quite easy (at least since 3.7 upwards): From your current installation, run File -> Export -> Installation -> To file. That will create a "receipe" of installed features. You can then install them using the same menu (under Import) into a clean Eclipse package and just leave the CDT away.
Related
I reinstalled 4-5 times the Eclipse Neon (Latest) and I downloaded following SDK's:
SDK Platform API 24 Re. 1
SDK Platform API 8 Rev. 3
Android SDK Tools Rev. 25.1.7
Android SDK Platform-Tools Rev. 24
Android SDK Build-Tools Rev. 24
Android SDK Build-Tools Rev. 23.0.3
Google USB Driver Rev. 11
And I have JDK and JRE 1.8.0 update 92, I use Eclipse Java Neon perfectly errorless.
When I create a project, it looks like this:
And I'm getting following errors:
Errors occurred during the build.
Errors running builder 'Android Resource Manager' on project 'zzzzf'.
java.lang.NullPointerException
And it cannot resolve variable R.
After editing project properties, I get this message:
[2016-07-10 00:13:12 - zzzzf] Project has no project.properties file! Edit the project properties to set one.
Also I am getting some kind of errors that I dont remember and Eclipse says "Good news! It seems this bug is fixed on next updates. VÄ°sit null for further information." But when I check the updates, there are no update. -- Errors are about running the workbench.
I tried:
Adding resource filters
Editing eclipse.ini by adding this line before -vmargs
-vm /Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home
Thanks for your help and giving a part of your valuable time. I am using AIDE for preparing applications and when I switch to PC, I'm busy with problems instead of Java codes...
Problem is solved by switching to Android Studio, because Eclipse is no longer supported by ADT. So that I am getting rid of that errors.
As of Dec 2016, I am able to create, compile and run Android projects under Eclipse Neon.
My installation details are:
ADT Tools 23.0.7.2120684
Eclipse Platform 4.6.1.M20160907-1200 (Eclipse Neon.1)
Ubuntu 16.04
There are some glitches:
LogCat and Devices views don't render well
Previewing a layout is possible, but you have to choose Android version < 23 in the preview version dropdown
If that doesn't work, you can try this independently maintained ADT as well. I get the same result with this ADT, so I didn't bother using it. It seems to be especially useful for those using Android NDK.
Update:
The Eclipse Foundation also maintains a fork of ADT called AndMore. It works fine with Neon.
For converting existing ADT projects to Android-Neon,
just select "configure-->convert From ADT" from the main popup menu.
Also Neon appears to be able to profile your hardware. I was getting crashes until I simply removed the memory and GC entries from eclipse.ini
When a project is created in Eclipse it automatically creates a folder called
.settings
And files named
.classpath,
.project,
project.properties
You can create a new project using the same package name and just copy the files over into this new project, rebuild it.
The more advanced, more direct and less headache approach is to find a current Eclipse project and copy the above named files over and edit them for this project.
Select your android project and go to
Properties => Java Build Path => Libraries => Add library => Android Classpath Contanier => Next => select your project android
Then push button Finish => Apply and Ok! and your errors is empty.
I hope help you... Good luck
I'm knew to eclipse and as expected I have a problem.
Problem with installing
derby_core_plugin_10.8.2.zip
derby_ui_doc_plugin_1.1.3.zip
from http://db.apache.org/derby/releases/release-10.8.2.2.html
I've read manual that says "download zips, extract them to ECLIPSE_HOME, they should be in /plugins directory and then restart eclipse", but that doesn't work.
Also I tried to restart eclipse with -clean option, again no result.
The magic "Apache Derby" option in project context menu doesn't appear.
I'm working with the latest release of eclipse luna and old eclipse workspace (mean that workspace stayed from previous release). At the moment I'm guessing that cause is .metadata folder, is it ?
After some research I found that plugins in zips derby_core_plugin_10.8.2 and derby_ui_doc_plugin_1.1.3 are no longer supported not just by Apache Derby project, but also in Eclipse IDE. As I know this plugins work well in Eclipse versions 3.X.X, but for now the latest available eclipse realease have varsion 4.X.X and there is no option to have them in this version.
I had eclipse Juno running; I decided to upgrade to eclipse Kepler. I only had Java 1.6, so I downloaded and installed java 1.7, and changed my JAVA_HOME. I downloaded and unpacked Kepler and pointed it at my existing workspace.
I have two questions; First, when I click on "Window / Preferences", there is no entry for "Maven" on the left of the dialog. I shut down and rebooted the machine after I changed JAVA_HOME to ensure that didn't cause this.
I checked the list of installed plugins, and it lists m2e (v1.4).
Second, I am getting an error message "Plugin execution not covered by lifecycle configuration". There are a double-handful of sites indicating what to do about this, including the m2e's wiki pages, but over half the suggestions don't look reasonable, the wiki doesn't spell out what to do for its recommended solution, assuming you know, and the one that looked most promising to me involves using "Windows / Preferences / Maven".
So I'm most interested in the answer to the first question; if you have hints to offer on the second, I'm all ears...
Here are the things you can try:
Start Eclipse with the -clean switch
Uninstall / reinstall the plugin
Delete the plugin's files physically from the plugins folder and install it again from the Marketplace
If all else fails you can just get a fresh installation of Eclipse and reinstall your old plugins manually. There are some of them which won't work in a newer version of Eclipse (I remember for example that I had to install WindowBuilder all over again after an Eclipse version switch).
I believe this came about by installing a new version of eclipse but pointing it at a workspace for the previous version. I have been told that there is metadata attached to a workspace that has to do with plugins; this would be bound to cause problems for a version that didn't have the plugins. I eliminated the new install, installed it again, created a new workspace, and imported-with-copy the project I wanted, that has eliminated the error. I will pursue that further.
Thanks to Adam Arold who pointed out the metadata issue.
I have the eclipse CDT installed, and I would like to install Java development functionality (JDT) on top of my CDT installation. I've been Googling from an hour but I can't figure out how to do this.
What plugin do I need to install? What update site do I need to use?
All versions of Eclipse have a standard base, then a specific set of plugins, depending on the version. All you have to do is go to the Help > Install New Software menu, select the Eclipse update site (e.g. "Galileo - http://download.eclipse.org/releases/galileo"), and under the Programming Languages section, select Eclipse Java Development Tools.
If you don't see the Java Development Tools in the list, click on the "already installed" link on the install page--you may already have the Java tools installed.
Remember to write http:// before the download.eclipse..... if you don't put that it won't work
For Eclipse 2020-06 the weakest precondition seems to be
1.) JDK 11
2.) eclipse.ini has top entries
-vm
<jdk-11/jre-11 path>/bin
3.) JDT appears in "Install New Software" repository http://download.eclipse.org/releases/2020-06 as "Eclipse Java Development Tools"
NOTE: Installation of Java 11 is not required, downloading/extracting ZIP File is sufficient, e.g. if you prefer to continue development with Java 8
Update for Eclipse Release 2021-3
Here, with the JDT-Release JDK 11 or later is already installed
Choose Menu Help->Install New Software,
Select Work With: "2021-03 - http://download.eclipse.org/releases/2021-03"
Filter "Development Tools"
Select "C/C++ Development Tools SDK"
Complete Installation with Next ... Restart Eclipse
I am running CentOS 5.5 x86_64 with JDK 1.6, Eclipse Galileo, and the 0.9.7 ADT is installed; however, after installation, the Android project type is not available. I have checked in the installed packages list and it is installed. Anybody encounter this problem before? Could it be due to my use of the 64-bit java VM that is installed on my system?
This usually happens when you dont select any android SDK in "Preferences > Android" You just have to reset the perspective in eclipse, Windows > Reset Perspective.
Hope this is still helpful.
Hope you have already set the Android Preferences if not Window -> Preferences-> Android and browse to the android SDK folder.
In rare cases even after doing this step, Android Project option doesn't show up in File -> New. But you can get it by File -> New -> Project .. and choose the android project from the options displayed.
Ok. I reinstalled eclipse and android. I think the problem was that I hadn't unpacked the android tools first. The plugin was installed, but it had nothing to talk to! Anyway, all the android related stuff now shows up in Eclipse.
Using Windows 7, 64-bit edition, with the latest Eclipse (Indigo) and the latest ADT plugin, I had the exact same problem. No Android project type, no Android in Windows/Preferences.
Like #Rubberman I solved the problem by totally re-installing Eclipse. Eclipse doesn't seem to use the standard Add/Remove Program stuff in Windows; I just deleted the Eclipse install directories and my Eclipse workspace directory, re-installed Eclipse, and re-installed the ADT plugin.
I would have liked to have just removed the plugin and re-installed without deleting the whole of my Eclipse install, but I couldn't figure out a way to do that. I don't see any way to remove a plugin, and when I tried to choose ADT for installation Eclipse gave me an error, saying "I can't install that because it is already installed."
I Know its a very old post..but still it may help someone with same problem...
I wanted to jst share that we can uninstall the plugins without the need of reinstalling eclipps..by simply going to 'already installed application' link and selecting all the android related options and simply clicking on uninstall button..Now you can add fresh android sdk to your ecllips..I have tried it and it works..
Hope, I helped aomeone..:-)
Ok, been looking for the answer to this for an hour, it's not well mentioned.
if you are using linux then you need to add 2 more things to install ADT correctly:
GEF from http://download.eclipse.org/tools/gef/updates/releases
WST Server Adapters from http://download.eclipse.org/releases/galileo/ (modify for your release)
do it the same as the adt plugin install.
maybe you need to uninstall then reinstall the adt plugin after?
sources:
ubuntuforums.org/showthread.php?t=1595684
sonalsantan.blogspot.com/2010/10/eclipse-adt-plugin-on-ubuntu-1010-after.html
You have to install the Eclipse plugin called ADT.