./dev/sda /tmp/backtrack, Opensource, Ppentest

Install Java di Kali Linux.

tar -xzvf /root/jdk-7u17-linux-x64.tar.gz
mv jdk1.7.0_17 /opt
cd /opt/jdk1.7.0_17

Selanjut nya masukan perintah ini:

update-alternatives –install /usr/bin/java java /opt/jdk1.7.0_17/bin/java 1
update-alternatives –install /usr/bin/javac javac /opt/jdk1.7.0_17/bin/javac 1
update-alternatives –install /usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.so /opt/jdk1.7.0_17/jre/lib/amd64/libnpjp2.so 1
update-alternatives –set java /opt/jdk1.7.0_17/bin/java
update-alternatives –set javac /opt/jdk1.7.0_17/bin/javac
update-alternatives –set mozilla-javaplugin.so /opt/jdk1.7.0_17/jre/lib/amd64/libnpjp2.so

  •  Test #java -version
Standard

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s