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

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -