ed@opensolaris:~$ export GRAILS_HOME=~/grails-1.1-beta3That is easier to type than /export/home/ed/grails-1.1-beta3. JAVA_HOME hadn’t been set so that was next.
ed@opensolaris:~$ export JAVA_HOME=/usr/javaThen I totally screwed up my PATH. I didn’t know how to reference the existing path in the new path and basically wiped out the entire path when I tried to add on GRAILS_HOME/bin. If someone can educate me I’d appreciate a comment. It was easy to figure out I did something wrong because printenv didn’t work at all when I tried to check my new path. Once I redid PATH and added ~/grails-1.1-beta3/bin I crossed my fingers and typed grails in a terminal window.
ed@opensolaris:~$ grails Welcome to Grails 1.1-beta3 - http://grails.org/ Licensed under Apache Standard License 2.0 Grails home is set to: /export/home/ed/grails-1.1-beta3 No script name specified. Use 'grails help' for more info or 'grails interactive ' to enter interactive modeIn NetBeans 6.5 I set the Grails_Home under Tools > Options > Groovy then I began a new project and selected Groovy, Grails Application. Now everything really is groovy!