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
jdk-7u45-linux-x64.tar.gz
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/libjavaplugin.so mozilla-javaplugin.so /opt/jdk1.7.0_45/jre/lib/amd64/libnpjp2.so 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 mozilla-javaplugin.so /opt/jdk1.7.0_45/jre/lib/amd64/libnpjp2.so

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?”


SHARE

About Lasha Gogua

    Blogger Comment
    Facebook Comment

34 comments:

  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

    ReplyDelete
    Replies
    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

      Delete
    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

      Delete
    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

      Delete
    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:

      www.hack-fb-online.com

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

    regards

    Java Course in Chennai

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

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

    ReplyDelete
  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

    ReplyDelete
  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.
    Regards,
    SAP training in chennai|SAP course in chennai|SAP Training in Chennai|sap course in Chennai

    ReplyDelete
  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

    ReplyDelete
  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..

    ReplyDelete
  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.
    Regards,

    Regards,
    CCNA Training in Chennai | CCNA Training Institute in Chennai | Best CCNA Training in Chennai

    ReplyDelete
  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.

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

    DOT NET TRAINING IN CHENNAI

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

    iOS Training in Chennai

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

    ReplyDelete

  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

    ReplyDelete


  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

    ReplyDelete
  16. 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...
    iOS App Development Company
    iOS App Development Company

    ReplyDelete
  17. great and nice blog thanks sharing..I just want to say that all the information you have given here is awesome...Thank you very much for this one.
    web design Company
    web development Company
    web design Company in chennai
    web development Company in chennai
    web design Company in India
    web development Company in India

    ReplyDelete
  18. Being new to the blogging world I feel like there is still so much to learn. Your tips helped to clarify a few things for me as well as giving..
    Fitness SMS
    Fitness Text
    Salon SMS
    Salon Text
    Investor Relation SMS
    Investor Relation Text

    ReplyDelete
  19. it is really amazing...thanks for sharing....provide more useful information...
    Mobile app development company

    ReplyDelete