I am trying to upgrade Grails 1.3.7 to Grails 2.0.3 in Linux. And I am getting the message as follows: Error occurred during initialization of VM when typing the command grails -version
This is what I did
- wget http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/grails-2.0.3.zip
- unzip grails-2.0.3.zip
- mv grails-2.0.3 /usr/share
- in /etc/profile GRAILS_HOME=/usr/share/grails-2.0.3 followed by export GRAILS_HOME, followed by addition to PATH env variable.
- Closed the session
- Restarted the session. Typed grails -version
- Error occurred during initialization of VM Could not reserve enough space for object heap
Any ideas?