Short Tutorial - How to Install Java (JDK) on Kali Linux
This short tutorial helps guide you on installing the Java Development Kit (JDK) on Kali Linux. JDK is used in compiling and running Java applications. Kali Linux is the first choice of security professionals to identify vulnerabilities in IT products. Kali Linux is a Linux-based framework that comes with pre-install different cybersecurity tools.
System Requirements to install JDK
No need for the binary for installation on Kali Linux. However, you can download binary after registration at the Oracle portal.
Step 1 - Update Kali
$ sudo apt update
Step 2 - Install default jdk on Kali
$ sudo apt install default-jdk
Step 3 - Check installation
Just shoot below command for checking proper installation.
If need to install a different version of Java instead of the default version, use the below commands:
$ sudo update-alternatives
--config java $ sudo update-alternatives
This blog is a short tutorial for guiding the installation of Java (JDK) on Kali Linux. You can install it by shooting a sequence of commands, as mentioned in the blog.
Subscribe us to receive more such articles updates in your email.
If you have any questions, feel free to ask in the comments section below. Nothing gives me greater joy than helping my readers!
Disclaimer: This tutorial is for educational purpose only. Individual is solely responsible for any illegal act.