How to Install Java Oracle on Kali Linux

Install Java Oracle on Ubuntu

How to Install Java Oracle on Kali Linux
4.9 (97.78%) 9 votes

Java is a programming language that must exist on the computer, because many program developers who need this java library, in linux any existing default Java OpenJDK which has been embedded in linux.

Oracle Java is a Java application that is officially released by the manufacturer is the company Oracle. Investigate a investigate on the internet, Oracle does not release all the existing binary code in java, there are some who use the services of a third party. Although I have not had any problems with the Oracle Java’s license, but the bottom line does not include Oracle Java opensource.

OpenJDK is a third party who released similar to Oracle’s java and is completely open source so it can be used from the Ubuntu Software, and the thing is java from the OpenJDK has long been no update it, the latest version is the version 8. As Oracle Java version is now 8.12, the difference is not felt by ordinary people, but of course it is already inside the system updates to close the holes security and new features that make computers better performance.

In my previous posts have discussed the easiest way to install Java oracle in Ubuntu, now I will discuss what can distro pentest wear Java Oracle, of course you can, but a different way of installing them, because distributions pentest not for beginners, here I will write about how the installation in Kali Linux, Kali Linux is a successor of Backtrack, Here’s how to install it:

  • Open Terminal, then type this command:
echo “deb trusty main” >> /etc/apt/sources.list
  • Then add repository 1 again
echo “deb-src precise main” >> /etc/apt/sources.list
  • Then run this command to get a key from ubuntu
sudo apt-key adv –keyserver –recv-keys EEA14886
  • Update your system
sudo apt-get update
  • After the update is complete, run the installation oracle java JDK 8
sudo apt-get install oracle-java8-installer
  • Click “OK” to continue installation, Select “Yes”
  • To make it as the default, run the following command
sudo apt-get install oracle-java8-set-default
  • After the installation is complete, check the java version
java -version
javac -version
  • Congratulations, Java JDK 8 already installed, enjoy it
Follow Me

Asep Ulchre

This website written by single admin, he's like coffee, like the python programming language and art lovers.
Follow Me
%d bloggers like this: