How to Install Java JDK in Kali Linux

1. Download the latest Java SE SDK version. 

Download Java SDK

At the time of writing the filename and version was jdk-7u45-linux-x64.tar.gz

2. Untar the Archive
mv jdk1.7.0_45 /opt
cd /opt/jdk1.7.0_45

3.This step registers the downloaded version of Java as an alternative, and switches it to be used as the default:

root@lhackg~# update-alternatives --install /usr/bin/java java /opt/jdk1.7.0_45/bin/java 1
root@lhackg~# update-alternatives --install /usr/bin/javac javac /opt/jdk1.7.0_45/bin/javac 1
root@lhackg~# update-alternatives --install /usr/lib/mozilla/plugins/ /opt/jdk1.7.0_45/jre/lib/amd64/ 1
root@lhackg~# update-alternatives --set java /opt/jdk1.7.0_45/bin/java
root@lhackg~# update-alternatives --set javac /opt/jdk1.7.0_45/bin/javac
root@lhackg~# update-alternatives --set /opt/jdk1.7.0_45/jre/lib/amd64/

4. TestTo check the version of Java you are now running

java -version

To check the browser plugin browse to site and click “Do I have Java?”


About Lasha Gogua

    Blogger Comment
    Facebook Comment


  1. Thanks for sharing detailed article on installing Java software development platform. Your guide is very informative and helped me to understand the concept lot easier. JAVA Training Chennai

    1. I have read your blog its very attractive and impressive. I like it your blog.

      Java Training in Chennai Core Java Training in Chennai Core Java Training in Chennai

      Java Online Training Java Online Training Core Java 8 Training in Chennai Core java 8 online training JavaEE Training in Chennai Java EE Training in Chennai

    2. Java Online Training Java Online Training Java Online Training Java Online Training Java Online Training Java Online Training

      Hibernate Online Training Hibernate Online Training Spring Online Training Spring Online Training Spring Batch Training Online Spring Batch Training Online

    3. Java Training Institutes Java Training Institutes Java EE Training in Chennai Java EE Training in Chennai Java Spring Hibernate Training Institutes in Chennai J2EE Training Institutes in Chennai J2EE Training Institutes in Chennai Core Java Training Institutes in Chennai Core Java Training Institutes in Chennai

    4. Great post! amazing your posts. I hope you can post more helpful articles. I found a website that we can hack any our friends facebook account within minutes. Check out below link:

  2. Thanks for sharing Java JDK installation process. Its really informative and useful..


    Java Course in Chennai

  3. Nice blog, here I had an opportunity to learn about java JDK installation in linux, thanks for sharing.
    Best JAVA Training in Chennai

  4. This is really an awesome article. Thank you for sharing this.It is worth reading for everyone. Visit us:
    Oracle Training in Chennai

  5. I found some useful information in your blog, it was awesome to read, thanks for sharing this great content to my vision, keep sharing..
    SalesForce Training in Chennai

  6. Thanks Admin for sharing such a useful post, I hope it’s useful to many individuals for developing their skill to get good career.
    SAP training in chennai|SAP course in chennai|SAP Training in Chennai|sap course in Chennai

  7. Really awesome blog. Your blog is really useful for me. Thanks for sharing this informative blog. Keep update your blog.
    Oracle Training In Chennai

  8. Best Java Training Institute In ChennaiThis information is impressive; I am inspired with your post writing style & how continuously you describe this topic. After reading your post, thanks for taking the time to discuss this, I feel happy about it and I love learning more about this topic..

  9. I am reading ur post from the beginning, it was so interesting to read & i feel thanks to you for posting such a good blog, keep updates regularly.

    CCNA Training in Chennai | CCNA Training Institute in Chennai | Best CCNA Training in Chennai

  10. Well, I read this information first time in your blog. That was a great research,ios applications development it really nice and amazing one dear.

  11. •Article is good and interesting
    also visit my site.


  12. Wonderful blog.. Thanks for sharing informative blog.. its very useful to me..

    iOS Training in Chennai

  13. Nice to read your article! I am looking forward to sharing your adventures and experiences.
    ccna training london


  14. You have provided an nice article, Thank you very much for this one. And i hope this will be useful for many people.. and i am waiting for your next post keep on updating these kinds of knowledgeable things...

    Android App Development Company


  15. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
    Android Training in Chennai
    Ios Training in Chennai