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.
3 Answers
26
votes
3
votes
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.
0
votes
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.
c:/dev/JDK 1.7.13/
containstools.jar
? – Igor Artamonov