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

Refer https://www.oracle.com/java/technologies/javase/products-doc-jdk15certconfig.html

Download

No need for the binary for installation on Kali Linux. However, you can download the binary after registration at the Oracle portal.

https://www.oracle.com/in/java/technologies/javase-downloads.html

Installation

Step 1 - Update Kali

$ sudo apt update

Step 2 - Install default JDK on Kali

$ sudo apt install default-jdk

Step 3 - Check the installation

Just shoot the below command for checking the proper installation.

$ java --version

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 --config javac

Conclusion

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.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

10 Blockchain Security Vulnerabilities OWASP API Top 10 - 2023 7 Facts You Should Know About WormGPT OWASP Top 10 for Large Language Models (LLMs) Applications Top 10 Blockchain Security Issues