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.
Related
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 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.
I wish I could give you guys more information on what's going on, but I really have no idea. I am trying to install groovy and grails tools suite from springsource and I am having trouble configuring it to work properly. I have the most up to date JDK, and the preferences show it, but I still get warnings and it does not build. I have posted some pictures below to show what is going on.
on your GGTS go to window
select java
select installed JREs
add-> Standard VM
jRE home select directory up to C:\Program Files\Java\jdk1.6.0_18
select jdk1.6.0_18 from installed JREs
I faced a similar issue (I am sure it is the exact issue) - Here are the steps to ensure it works correctly, I struggled with initially but this got it going.
Install JDK from http://www.java.com ,in a directory where there are NO SPACES in the path
Set JAVA_HOME to your JDK installation
Ensure %JAVA_HOME%\bin; is in your PATH variable.
On the command prompt run java -version, it should give you the path where JDK is installed
Install STS Springsource Tool suite.
Run your STS and create a new grails project and run it.
Let me know if that does not work.
It might be that you are launching Eclipse with a JRE even though you have a JDK installed as one of the compilers in your workspace. To find out if you are launching with a JRE or JDK, go to Help -> About GGTS -> Installation details -> Configuration
Look for the -vm option and make sure it is a JDK not a JRE.
I downloaded eclim, and according to the installation guide
it requires Eclipse Helios 3.6.x.
So, I went and installed that version of Eclispe manually because it is not at Ubuntu's repositories.
What happened next was that, when I tried installing eclim, it said that it cannot recognize the eclipse version that I have.
Do you have any suggestions of how to resolve this issue?
The Eclipse that you install manually is not usually on the path that Eclipse is installed to when using the software center. I had this problem too while trying to install eclim.
There are two ways to fix it.
You can specify where the new Eclipse is installed to from your manual installation. For example, I manually installed Helios to $HOME/eclipse. When the installer gets to the point where it asks for eclipse's path, I specified it as /home/username/eclipse, replacing username with my name of course. That should find the helios installation, and not the installation in /usr/lib/eclipse.
The second way to do it is to manually make and install eclim from the repositories. The guide for this is here, http://eclim.org/guides/development.html#development-build. That will work you through building eclim from the development build, which may be better anyway as there may be new features not in the release version. Be sure to specify the eclipse home files in the Ant command, like so, ant -Declipse.home=/where/you/installed/eclipseto
Hope this helped, and merry days using eclim. It's really great.
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.