How to install Java in Kali Linux | java 8 install in kali Linux | install java 17 in kali Linux

Published: 29 September 2022
on channel: Dcoding
1,058
17

#ethicalhacking #kalilinux #fullhackingcourse
Learn Python In Hindi - http://t.ly/qj4J
Learn Kali Linux online course – http://t.ly/hq9s
IT Basic – https://t.ly/BwJ2

The objective of this Video is to show how to install the Java Development Kit (JDK) on Kali Linux. This is needed by Java developers and programmers in order to compile and run Java applications. It’s also required for security tools that are built in Java.

Use the apt package manager to update your system’s repositories and install the default JDK package.
$ sudo apt update
$ sudo apt install default-jdk


If you want to install a specific version of the JDK, use the following command to search for the exact package you want. This will show all the JDK packages available for installation.

$ sudo apt-cache search openjdk

Once the process is finished, you can verify the Java installation with the following command.
$ java --version

To switch between Java versions, execute the following two commands while selecting the Java version you require.
$ sudo update-alternatives --config java


On this page of the site you can watch the video online How to install Java in Kali Linux | java 8 install in kali Linux | install java 17 in kali Linux with a duration of hours minute second in good quality, which was uploaded by the user Dcoding 29 September 2022, share the link with friends and acquaintances, this video has already been watched 1,058 times on youtube and it was liked by 17 viewers. Enjoy your viewing!