abernal's blog

How to install Java 8 OpenJDK

In order to install the Java 8 SDK, we can follow two procedures

First Option

1. Add the repository to get openjdk

sudo add-apt-repository ppa:openjdk-r/ppa

2. Update the repositories

sudo apt-get update

3. Install the openjdk-8-jdk

sudo apt-get install openjdk-8-jdk

4. Configure java 

sudo update-alternatives --config java

5. Configure javac

sudo update-alternatives --config javac

​Second Option

1. Get the jdk tar gz file

Grails basics

Install grails in ubuntu

1. Install gvm "groovy environment manager"

curl -s get.gvmtool.net | bash

2. Restart ubuntu

sudo reboot -r now

3. Install (in this sample we will install grails 2.4.3)

​gvm install grails 2.4.3

Pages

Subscribe to RSS - abernal's blog