Open Ubuntu terminal and before we install jdk, make sure if it is install on your system or not. To check, run sudo apt-get purge openjdk*. Enter password to proceed.
In my ubuntu system jdk is not is installed and is highlighted by red underline. Now we are going add repository to my system, i.e.: sudo add-apt-repository ppa:webupd8team/java.
Once repository is added to your system, update your system by running sudo apt-get update in the terminal.
Once it is updated run java installer by running sudo apt-get install oracle-java8-installer.
Once package lists is read it will open configuration window. Accept License Agreement and proceed to install java on your system.
Downloading java on your system. Once the file is download it will extract the file to install java8 on your system.
Comments
Post a Comment