in , ,

Kali Linux Tutorials – How To Install JAVA

How To Install Java on Kali Linux 2.0 Kali Sana


Why download Java SE SDK?

From the Officiel web page Java technology allows you to work and play in a secure computing environment. Upgrading to the latest Java version improves the security of your system, as older versions do not include the latest security updates.

Java allows you to play online games, chat with people around the world, calculate your mortgage interest, and view images in 3D, just to name a few.

On Kali Linux 2.0 we need Java fore many softwars and tools, Like : Android-Sdk, I2P … and more

Download latest Java SE SDK :

To Download Java Select the file according to your operating system from the list.
Download Link :
Java will be saved on Downloads/ folder or save it on /root.

Uncompress archive:

root@k4linux:~# tar -zxvf jre*.tar.gz

Move the extracted folder to /opt:

root@k4linux:~# mv jre* /opt

And go to the folder :

root@k4linux:~# cd /opt/jre*

Install and register binaries Of Java :

This step registers the downloaded version of Java as an alternative,
and switches it to be used as the default:

update-alternatives –install /usr/bin/java java /opt/jre*/bin/java 1
update-alternatives –install /usr/lib/mozilla/plugins/libjavaplugin.s­o /opt/jre*/lib/amd64/ 1
update-alternatives –set java /opt/jre*/bin/java
update-alternatives –set javac /opt/jre*/bin/javac
update-alternatives –set /opt/jre*/lib/amd64/

Testing your installation OF Java on Kali Linux 2.0:

To check the browser plugin, restart your webrowser, and click “Do I have Java?
To check the version of Java you are now running:

root@k4linux:~# java -version
java version “1.8.0_60”
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)

Watch the video tutorial for more explanation :

If you have encountered a problem or you have any questions or remarks please feel free to set a comment.

Source : Kali Linux Java


Leave a Reply

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





Penetration Testing with Kali Linux – Ddos Attack (Golden Eye)

Penetration Testing With Kali Linux – Encrypt a Payload (Veil Evasion)