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

89 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
  20. This article is very much helpful and i hope this will be an useful information for the needed one. Keep on updating these kinds of informative things...
    Texting API
    Text message marketing
    Digital Mobile Marketing
    Sms API
    Sms marketing

    ReplyDelete
  21. Thanks for sharing your post, this is really informative for me.

    Core Java Online Training Hyderabad

    ReplyDelete
  22. This comment has been removed by the author.

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

    PSD to Wordpress
    wordpress website development

    ReplyDelete
  24. Your good knowledge and kindness in playing with all the pieces were
    very useful. I don’t know what I would have done if I had not
    encountered such a step like this.


    java training in chennai


    java Training in Bangalore

    ReplyDelete
  25. India's One of The Best Online Mobile Recharge Software Development Company, Using Our All in One Mobile Recharge Software You Can Recharge All India Operator via Single SIM Card. Free Distributor or Retailer ID. B2B or B2C Multi Recharge or Domestic Money Transfer Software Provider in India.
    Bulk SMS Provider in India, Promotional Bulk SMS Provider

    ReplyDelete
  26. This comment has been removed by the author.

    ReplyDelete
  27. Really it was an awesome article...very interesting to read..You have provided an nice article....Thanks for sharing..
    Mainframe Training In Chennai | Informatica Training In Chennai | Hadoop Training In Chennai

    ReplyDelete
  28. Thank you a lot for providing individuals with a very spectacular possibility to read critical reviews from this site.
    Best Python Training Institute in Bangalore

    ReplyDelete
  29. I simply wanted to write down a quick word to say thanks to you for those wonderful tips and hints you are showing on this site.
    Best Hadoop Training Institute In chennai

    ReplyDelete
  30. I read your blog it's really good, thanks for sharing valuable information with us.
    Excellent Article, Nice to read your article, very informative.
    Excellent article Top AC mechanics Professional Camera sellers ChennaiCatering Service in ChennaiTop Educational Institute Chennai

    Excellent Article
    swimmingpool contractor chennai
    swimmingpool equipment dealer chennai
    swimmingpool consultant chennai

    ReplyDelete
  31. I read your blog it's really good, thanks for sharing valuable information with us.
    Excellent Article, Nice to read your article, very informative.
    Excellent article Top AC mechanics Professional Camera sellers ChennaiCatering Service in ChennaiTop Educational Institute Chennai

    Excellent Article
    swimmingpool contractor chennai
    swimmingpool equipment dealer chennai
    swimmingpool consultant chennai

    ReplyDelete
  32. I simply wanted to write down a quick word to say thanks to you for those wonderful tips and hints you are showing on this site.
    Best Java Training Institute Chennai

    ReplyDelete
  33. I believe there are many more pleasurable opportunities ahead for individuals that looked at your site.

    Hadoop Training in chennai

    ReplyDelete
  34. This comment has been removed by the author.

    ReplyDelete
  35. Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here.
    Best Hadoop Training Institute In chennai

    ReplyDelete
  36. I believe there are many more pleasurable opportunities ahead for individuals that looked at your site.
    google-cloud-platform-training-in-chennai

    ReplyDelete
  37. Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.
    selenium training in chennai

    ReplyDelete
  38. Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here.

    Amazon Web Services Training in Chennai



    Best Java Training Institute Chennai

    ReplyDelete
  39. Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here.
    datascience training in chennai

    ReplyDelete
  40. I believe there are many more pleasurable opportunities ahead for individuals that looked at your site.

    Hadoop training in velachey

    ReplyDelete
  41. Ciitnoida provides Core and java training institute in

    noida
    . We have a team of experienced Java professionals who help our students learn Java with the help of Live Base Projects. The object-

    oriented, java training in noida , class-based build

    of Java has made it one of most popular programming languages and the demand of professionals with certification in Advance Java training is at an

    all-time high not just in India but foreign countries too.

    By helping our students understand the fundamentals and Advance concepts of Java, we prepare them for a successful programming career. With over 13

    years of sound experience, we have successfully trained hundreds of students in Noida and have been able to turn ourselves into an institute for best

    Java training in Noida.

    java training institute in noida
    java training in noida

    ReplyDelete
  42. This blog is really awesome Thanks for sharing most valuable information with us. check at Devops Online Course Bangalore

    ReplyDelete
  43. Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here.

    DevOps Training in Bangalore

    ReplyDelete
  44. I believe there are many more pleasurable opportunities ahead for individuals that looked at your site.
    Best Aws training Institute in chennai

    ReplyDelete
  45. Your new valuable key points imply much a person like me and extremely more to my office workers. With thanks; from every one of us.

    Hadoop Training in Chennai

    ReplyDelete
  46. Best Summer Internship In Noida

    These technologies prepare individuals for fields like software programming, technical support, graphic design, software testing, business analytics. Embedded Systems, Industrial Automation Training and more. Candidates go through a series of comprehensive practical sessions where they work on live problems and implement solutions on real-time basis.
    It has a dedicated placement cell which provides 100% placement assistance to students. The benefits that a student gets out of summer training are innumerable. CIITN,Best Summer training Center for B.Tech/CS/CSE/IT/ BCA/MCA/ B.E /M.tech / B.sc/ M.sc/ Engineering Student has already accomplished itself successfully in the field of Training and Development after setting milestones and bringing smiles to the faces of more than 1 Lakh students. CIITN was incorporated in the year 2002 and over the years CIITN has grown remarkably into the greatest training giant of Northern India.
    There is no looking back to technology! Those passionate for it need not worry about the professional prospects it offers. Courses and trainings in the field of Computer Science and Applications open a wide array of choices for individuals. All you need to do it prepare yourself right!

    Summer Internship Course In Noida

    Summer Internship Training In Noida

    ReplyDelete
  47. My rather long internet look up has at the end of the day been compensated with pleasant insight to talk about with my family and friends. JAVA Training in chennai

    ReplyDelete
  48. Madhuvahini Houseboat Service is the new initiative being launched by Malabar tourism management @ Bekal, Nileshwar, Kasaragod, Kannur, Calicut, Manglore. 1HR, 2HR, Sunset, Dinner, Overnight, Day Night Cruise Available. Life is Better on Boats to explore the area of backwaters and offer Kerala traditional Home and Boat Stay Service.

    ReplyDelete
  49. Yiioverflow presenting one of the best and high performance PHP framework. Fast, secure and extremely professionals are developing applications. We guide to implement mobile app development and SOA hybrid applications.Code in Nodejs, Angular,Ionic,ReactJS and Yiiframework.

    ReplyDelete
  50. Thank you Admin!
    Realtime project center chennai provides Robotics projects in chennai

    ReplyDelete
  51. The information you posted here is useful to make my career better keep updates.I did Realtime Project Centers in Chennai at 1Crore Projects. Its really useful for me to make bright future in IT industry.

    ReplyDelete
  52. Very Nice!

    Thanks for sharing useful for final year students.you can refer best
    Final Year IEEE Projects Chennai | Embedded Application Projects in Chennai.

    ReplyDelete
  53. Nice Post My sincere thanks for sharing this post Please Continue to share this kind of post

    Best Android Inplant training in Chennai | Best IT Inplant Training in Chennai.

    ReplyDelete