java - Grails: JAVA_HOME is not defined correctly -
i have tried install grails framework , command "grails" in terminal every time crashes. using debian squeeze , set in /etc/profile
, ~/.profile this
:
export java_home=/usr/lib/jvm/java-6-sun-1.6.0.22 export grails_home="/home/snitch/grails" export path=${path}:${grails_home}/bin
what wrong?
make sure java_home
points jdk, not jvm. see: http://www.grails.org/installation.
you may need add ${java_home}/bin
path
also.
Comments
Post a Comment