0

Install Java 9 in Ubuntu


Udemy

This post demonstrates how to install Java 9 on Ubuntu Trusty 64.

Are you ready for Java 9?  At the time of writing, it has not been release yet but it will be release very very soon. For the meantime, early-access builds are available for download and testing. As such, this post may be updated in case additional instructions are need to install Java 9 in Ubuntu Trusty 64.

Requirements

Stuff used for this post.

  • Ubuntu Trusty 64
  • Java 9
  • sudo rights on Ubuntu
  • ssh
    • putty.exe is used to access Ubuntu box

Installation Steps

  1. Add the WebUpd8 Oracle Java PPA

    The terminal displays the following:

    Simply press ENTER to proceed with the installation.


    From the point, proceed to step 2.
  2. Updates the package lists for upgrades for packages that need upgrading, as well as new packages that have just come to the repositories

    The terminal displays the following:

    The output depends on how outdated your Ubuntu is.
  3. Install Oracle 9


    The terminal displays the following:

Installation is complete. We can now verify if Java has been properly installed.

Testing

References