Download and install Oracle Java Development Kit
- Go to
http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html#javasejd
. - Scroll down to Java SE 8ux.
- Click the Download button for JDK.
- Click the link for Linux x64.
- Install JDK following instructions in the readme.