OS X - Terminal resets after typing 'grails' command

前端 未结 1 1431
感情败类
感情败类 2021-02-05 17:23

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

相关标签:
1条回答
  • 2021-02-05 17:54

    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.

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