Installing Groovy and Grails on Linux with gvm

## Requirements: Java jre installed. You can learn how to install java in:

## Download and install Groovy enVironment Manager

curl -s | bash

## restart your console or excecute this command

source "/home/phonnz/.gvm/bin/"

## install groovy with gvm

gvm install groovy

## install grails with gvm

gvm install grails

## Sometimes you can get the error “unable to locate the java compiler while running grails app”. Just set the CLASSPATH variable to tools.jar

## (It depends where is your java jre)

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s