Groovy and grails jdk issue

后端 未结 3 1259
情歌与酒
情歌与酒 2021-02-07 15:12

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 ha

相关标签:
3条回答
  • 2021-02-07 15:18
    1. on your GGTS go to window
    2. select java
    3. select installed JREs
    4. add-> Standard VM
    5. jRE home select directory up to C:\Program Files\Java\jdk1.6.0_18
    6. select jdk1.6.0_18 from installed JREs
    0 讨论(0)
  • 2021-02-07 15:21

    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.

    0 讨论(0)
  • 2021-02-07 15:35

    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.

    1. Install JDK from http://www.java.com ,in a directory where there are NO SPACES in the path
    2. Set JAVA_HOME to your JDK installation
    3. Ensure %JAVA_HOME%\bin; is in your PATH variable.
    4. On the command prompt run java -version, it should give you the path where JDK is installed
    5. Install STS Springsource Tool suite.
    6. Run your STS and create a new grails project and run it.

    Let me know if that does not work.

    0 讨论(0)
提交回复
热议问题