Problem in setting up eclim on ubuntu - java

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.

Related

Google plugin for Eclipse Luna not showing the icon

I have been around 4 hours trying to install the Google Plugin for Eclipse Luna. I followed every step of the installing guide but when i finished the Google Logo for starting a new project didnt appear as it should:
As you can see even though i have the plugins installed i cant see the icon or start a new web project.
My operating sysyem is OSx Yosemite. I tried updating to Java 8 and JDK 8 (and 7) and deleting all the files as this question recommends. Also deleted and "reinstalled" eclipse and the plugin a lot of times but didn't workout.
Anybody with the same problem? Thanks a lot.
I had the exact same problem on my new MacBook. I had to install JDK 7. I downloaded and installed the Mac OS X x64 version of 7u75 from here:
JDK 7 Downloads
After it installs make sure it's the system default by executing the following from the Terminal:
/usr/libexec/java_home
If it looks good to go then just restart eclipse and you should be good to go.
I suggest you even to delete your Eclipse_Luna:
Re-install your Eclipse and then install the GAE-plugin again.
Remember to re-start your Eclipse after you've successfully install the GAE-plugin for Eclipse_Luna.
I faced the same issue.
I installed JDK 1.7 and used 1.7 jre for eclipse as mapped and downloaded the eclpise plugin AND restarted and it worked fine.

eclipse: No "Maven" entry for Windows / Preferences

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.

Installing Eclipse/Java on Ubuntu

I'd like to install Eclipse on Ubuntu for Java development. I'm happy to trade having the newest version for steady updates via package management.
I've done the usual sudo apt-get install eclipse eclipse-jdt (java-7-openjdk-i386 is installed and working)
However, when I start Eclipse, there seems to be almost nothing available - no Java editing (not even 'Installed JREs' is present under Window/Preferences). I've tried adding various update sites, installing Marketplace client, WTP, Java EE etc. but just can't get a working install. Oddly, I have it running fine on another machine I set up about a year ago (with the help of How do I install Eclipse Marketplace in Eclipse Classic?)
I've given up and reverted to a manual install (along the lines of Eclipse 3.6 Helios for Ubuntu 10.10) but wanted to ask:
Am I missing something obvious?
I strongly recommend you not to install Eclipse in that way, it is not really useful and you will get just the Eclipse with the Java Standard Perspective. What I recommend you is to download the tar.gz file from the page (including the Java EE perspective). Copy the tar file in a directory where you want all your development tools, like /home/user/dev/eclipse and start from there. You can create a launcher in your desktop to get a faster access to the IDE. When I started with Ubuntu, I used to install the way you had installed (sudo apt-get...) but I can tell you that the best way to do is to install it manually. If the JDK is well installed, you will not have any problem launching your Eclipse. Best regards.

Groovy and grails jdk issue

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.

Download and install JavaFX for Eclipse

I'm an experienced (Java, Eclipse & Maven) developer, and have used a couple of frameworks thus far. Every time I'm trying to start with something new, it seems like there are about a zillion configuration possible for downloading and installing it.
I've looked here for instructions, and all the near pages, but they seem out dated, the Eclipse plugin path is invalid, and when I install the latest version I've found no the site (2.0.2), it says that I have a newer version installed.
Also, the Maven setup in most posts I've read seems obscure.
I'm using:
Windows 7
Eclipse x64 Indigo
JDK x64 1.6.0.24
Maven 3.0.3
And I don't recall installing the JavaFX.
What an I missing? Where can I read about the setup in order to start working with this framework?
JavaFX gets installed if you install the latest JDK 7 from Oracle (co-bundled).
You can find the Eclipse plugin here:
http://efxclipse.org/
If your're interested in Maven builds: I've recently released an initial version of Drombler FX, a modular RCP for JavaFX based on OSGi and Maven (POM-first):
http://puces-blog.blogspot.ch/2012/12/drombler-fx-building-modular-javafx.html
http://wiki.drombler.org/GettingStarted
I did tried efxclipse but it was not enough for me. I have also tried to give the path of javafx jar file to efxclipse
Window->Prefrences->javafx->"The path to javafx jar which is
jfxrt.jar"
. But nothing worked for me I don't know what was going wrong.
Then I just add the jfxrt.jar file to my Library and everything worked fine :-
1. Right click your JRE System Library
2. Build Path
3. Configure Build Path
4. Add External Jars
5. "The path to jfxrt.jar"
You can download jfxrt.jar file from this link.
Or
If you have already downloaded the latest oracle JAVA JDK you will find in this path
Extracted_oracle_jdk_folder/jre/lib/ext/jfxrt.jar
That's it everything should work fine.
Try e(fx)clipse at http://efxclipse.org/. I'm a netbeans developer, but heard a lot of good stuff about that plugin from my eclipse using friends.

Categories