send free sms any network
Subscribe For Free Updates!

We'll not spam mate! We promise.

PENETRATION TESTING AND ETHICAL HACKING TUTORIALS

Today I will be teaching you how  to install java in kali linux 32 bit as well as 64 bit

First in 64 bit

1. Download the latest Java SE SDK version. 


http://www.oracle.com/technetwork/java/javase/downloads/index.html

2. Untar the Archive
tar -xzvf /root/jdk-7u25-linux-x64.tar.gz
mv jdk1.7.0_25 /opt
cd /opt/jdk1.7.0_25



 3.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/jdk1.7.0_25/bin/java 1
update-alternatives --install /usr/bin/javac javac /opt/jdk1.7.0_25/bin/javac 1
update-alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.so /opt/jdk1.7.0_25/jre/lib/amd64/libnpjp2.so 1
update-alternatives --set java /opt/jdk1.7.0_25/bin/java
update-alternatives --set javac /opt/jdk1.7.0_25/bin/javac
update-alternatives --set mozilla-javaplugin.so /opt/jdk1.7.0_25/jre/lib/amd64/libnpjp2.so
 4. Test

To check the version of Java you are now running

java -version

To check the browser plugin browse to http://www.java.com/ and click “Do I have Java?”

                         IN    32-bit    KALI LINUX

All the steps are same just you have to change a few things

 like in STEP 2
You have to change x64 to i386 
tar -xzvf /root/jdk-7u25-linux-i386.tar.gz

AND in STEP 3

you have to change x64 to i386 

 update-alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.so /opt/jdk1.7.0_25/jre/lib/i386/libnpjp2.so 1

Please Give Us Your 1 Minute In Sharing This Post!
SOCIALIZE IT →
FOLLOW US →
SHARE IT →
Powered By: vaji virus

0 comments:

Post a Comment