Welcome to our article on How to install latest Java JDK on Kali Linux 2020.x|2019.x. Many applications require Java installed on your computer for them to run smoothly. This tutorial will guide you through a complete process of installing latest java on Kali Linux operating system.


Most articles you read online will give you hard to follow procedure but this is a straightforward guide and you will always get latest version of java on your distribution.

If you are on Kali Linux, make sure you have correct repositories in your sources.list file.You can find the correct way of doing that from my previous article Add repositories to Kali Linux.

Then after that:

1) Switch to root account or use sudo, with the first one you’ll enter the root password and with the second one you’ll enter your normal user account password.

sudo su -

2) Then update your system

sudo apt update && sudo apt upgrade

3) Finally, install JAVA on Kali Linux

sudo apt install -y default-jdk

After java downloading and installing successfully, check your Java version:

$ java -version

Java Mastery courses:

Thanks for reading. feel free to drop a comment in case you encounter any error or problem.

Search Tags:

  • Install Java JDK on Kali Linux
  • Installing Java on Kali Linux 2020.x
  • Oracle Java installation on Kali Linux

Your support is our everlasting motivation,
that cup of coffee is what keeps us going!

As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.


Please enter your comment!
Please enter your name here