Sunday, 3 June 2012

intellij Failed to run grails command: JDK is not defined

I'm starting to experiment with IntelliJ because I have a javascript portion of code in my Grails app, but one of the first things I'm running into when using Grails for IntelliJ is this:

Failed to run grails command: JDK is not defined

The solution is to define your JDK by going to File -> Project Structure, and then putting a value in the JDK.

Coming from an Eclipse background I'm sure I'll encounter more silly problems like these...but hey the JS support for IntelliJ is supposed to be the best, so I'll give it a try.

6 comments: