I make an inquiry, I download the OpenJava 7 and Grails 2.5.1, I'm working on ubuntu.
I went to the / etc / environment file and added the variables:
JAVA_HOME="location of the java folder" GRAILS_HOME="location of the grails folder"
and then in the PATH add the following: : $ JAVA_HOME / bin: $ GRAILS_HOME / bin
And finally I ran the command source / etc / environment to update it.
If I run the command javac -version it says: javac 1.7.0_95 (Which is the version that installs)
But if I run grails -version I clean the terminal and it does nothing.
If I execute echo $ JAVA_HOME or echo $ GRAILS_HOME, it gives me the location of the folders.
Does anyone think it can become?
Thank you very much!