Download and install Oracle Java Development Kit

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