In my .bash_profile I have the following lines
export GRAILS_HOME=/usr/share/java/grails;
export PATH=$PATH:$GRAILS_HOME/bin;
$GRAILS_HOME is a symbolic link to grails 2.3.11 in the same directory, and all the files are intact and where they are supposed to be.
However, when I type grails
into the terminal, nothing happens. Well, something happens...for a brief moment the title of the terminal window changes from bin -- bash --
to bin -- tset --
. After that, the terminal window clears and resets itself.
I'm really confused as to why this is happening. I've set up grails before and never had this issue. Can anyone point me in the right direction?
This was due to my JAVA_HOME variable not being set up correctly. As soon as I added export JAVA_HOME=/Library/Java/Home
Grails started working.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With