Groovy and grails jdk issue
- 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.