

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_79/bin/java 1 tar -xzvf /root/jdk-7u79-linux-圆4.tar.gzĬd /opt/jdk1.7.0_79 Install and register binaries Now you uncompress and move the whole uncompressed folder to /opt (optional) directory. Not that tough really!įollowing is what I’ve used in this guide:ĭownload and save the file in /root directory. 32-bit users should choose their versions accordingly.


So lets get on with the installation: Download latest Java SE SDKĪt the time of writing this guide the jdk version was jdk-7u79-linux-圆4.tar.gz. Otherwise, replace the version number and you will be fine. jdk-7u79-linux-圆4.tar.gz, so you can pretty much copy paste it as long the versions are matching. I’ve also updated instructions for latest Java SE Development Kit 7u79 i.e. Do verify and if it worked for you, let me know via comments section. I’ve had other readers confirming the process. This post got the same instructions which also applies to Kali Linux 1.x and it’s still valid. This post will outline the steps required to install Java in Kali Linux 2.0 – Kali Sana.
