photo lineviral_1.png

How To Install Coffee Jdk Inwards Kali Linux

POST UPDATED amongst latest version of Java: 18/12/2013.


This is a modest guide amongst instructions that users tin re-create glue in addition to brand Java run inward their Kali Linux. Thanks to purehate for providing master copy instructions. I’ve modified his pedagogy to adapt my needs in addition to I promise this volition create goodness users every bit well. POST UPDATED amongst latest version of Java How to Install Java JDK inward Kali Linux


So lets larn on amongst this guide…


Instructions on How to Install Java JDK inward Kali Linux:


Download the latest Java SE SDK version


Go to the next link in addition to download jdk7. At the fourth dimension of writing this guide the jdk version was jdk-7u45-linux-x64. Note that I’m using x64 which is 64-bit. 32-bit users should direct their versions accordingly. Not that tough really!


Following is what I’ve used.


JDK-7u45-Linux-x64


Again, at the fourth dimension of writing this guide the available version was jdk-7u45-linux-x64.tar.gz


Download in addition to relieve the file inward /root directory.


UnTar the Archive in addition to motility to /opt


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

Install in addition to register binaries


This footstep registers the downloaded version of Java every bit an alternative, in addition to switches it to hold upwardly used every bit the default:


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

Test


First of all, unopen your browser in addition to re-open. You won’t believe how many users truly forgets to create this footstep in addition to after complains Java ain’t working. I’d propose to bookmark this site to hold upwardly able to reopen these instructions quickly, or only re-create these into a leafpad/vi/text file.


To banking concern jibe the version of Java y'all are straightaway running


java -version

To banking concern jibe the browser plugin precisely click Do I induce got Java?


This should induce got y'all to Oracles Java website in addition to y'all volition run across a confirmation message.


Thanks for reading.


Buat lebih berguna, kongsi:
close