Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Grails installation

Tags:

grails

I am trying to install grails in my windows 7, I have installed JDK 1.7.0 and downloaded grails from its site and extracted in path "C:\grails", i have jdk in "C:\Program Files\Java\jdk1.7.0". I have set environment variable JAVA_HOME = "C:\Program Files\Java\jdk1.7.0\bin" and GRAILS_HOME = "C:\grails" and added "%GRAILS_HOME%\bin" and JAVA_HOME to path from advanced settings. But when i try to run "grails -v" or "grails help" i get the error "The system cannot find the path specified.". I even changed my directory to "C:\grails" and ran "grails -v" but it is still giving me the same error.

I dont know what is wrong with it, please help me installing this thing. Thanks

like image 466
Eddard Stark Avatar asked Dec 10 '22 01:12

Eddard Stark


1 Answers

JAVA_HOME = "C:\Program Files\Java\jdk1.7.0\bin" mustn't include 'bin'

like image 153
Chris Avatar answered Feb 18 '23 23:02

Chris