, ,

Kali Linux Tutorials – How To Install Java

How To Install Java on Kali Linux ?

Kali Linux – Java : How To Download and Install Latest Version

Kali Linux Java - how to download and install latest version
java on kali linux

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 : http://www.java.com/en/download/linux_manual.jsp
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 mozilla-javaplugin.so /opt/jre*/lib/amd64/libnpjp2.so 1
update-alternatives –set java /opt/jre*/bin/java
update-alternatives –set javac /opt/jre*/bin/javac
update-alternatives –set mozilla-javaplugin.so /opt/jre*/lib/amd64/libnpjp2.so

 

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

All the steps for this tutorial are explained on a Video on our Youtube Channel you can subscribe to it by this link they are many other tutorials that you can learn about bypassing and hacking and others basics tutorials about kali linux  (Kali Sana).

 

 

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

If this article helped you to solve your problem please feel free to Share it with your friends. with Love and Prosperity K4LINUX-TEAM.


What do you think?

0 points
Upvote Downvote

Total votes: 0

Upvotes: 0

Upvotes percentage: 0.000000%

Downvotes: 0

Downvotes percentage: 0.000000%

Comments

Don't worry, we don't spam

6 Comments

Leave a Reply

Leave a Reply

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