Custom Search

Thursday, October 17, 2013

How to Install Oracle Java JDK 8 in Ubuntu 15.04 14.10 14.04 13.04 12.04

1)
Add Repo
#sudo add-apt-repository ppa:webupd8team/java

2)
Update Repo
#sudo apt-get update

3)
Install Oracle Java 8
#sudo apt-get install oracle-java8-installer



4)
To automatically set up the Java 8 environment variables
#sudo apt-get install oracle-java8-set-default

5)
Check Version
#java -version

6)
Remove Oracle Java 8
a)
Check which JDK packages are installed

#sudo dpkg --list | grep -i jdk

b)
Remove Oracle Java 8

#sudo apt-get purge oracle-java8-installer
OR
#sudo apt-get remove oracle-java8-installer

c)
Check that all JDK packages have been removed

#sudo dpkg --list | grep -i jdk

23 comments:

  1. very simple, nice, thanks for all.

    ReplyDelete
  2. giving error on installation: bash: /usr/bin/java: No such file or directory
    please provide some solution

    ReplyDelete
  3. Superb blog. I really enjoyed very much with this article here. Really its a amazing article that I had ever read. I hope it will help a lot for all. Thank you so much for this amazing posts and please keep update like this excellent article.
    Java Training in Chennai

    ReplyDelete
  4. How to Solve MongoDB Installation in Ubuntu 15.10? Contact to MongoDB Technical Support
    Suppose you are continuously trying to install MongoDB driver for PHP in Ubuntu 15.10 but yet not you getting the output, now in this case how will you solve this problem. Make sure, if you go with other support company to solve this problem then you have to spend lots of money but with the Cognegic MongoDB Customer Support USA or MongoDB Online Support you can easily solve this technical problem and which is under in your budget. Our Support for MongoDB Database Software is easy to use and very affordable.
    For More Info: https://cognegicsystems.com/
    Contact Number: 1-800-450-8670
    Email Address- info@cognegicsystems.com
    Company’s Address- 507 Copper Square Drive Bethel Connecticut (USA) 06801

    ReplyDelete
  5. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
    rpa training in chennai
    rpa training in bangalore
    rpa course in bangalore
    best rpa training in bangalore
    rpa online training

    ReplyDelete

  6. Hello! This is my first visit to your blog! We are a team of volunteers and starting a new initiative in a community in the same niche. Your blog provided us useful information to work on. You have done an outstanding job.
    Advanced AWS Training in Chennai | Best Amazon Web Services Training in Chennai
    Best Amazon Web Services Training Course in Bangalore | AWS Training in Bangalore
    AWS Online Training and Certification | AWS Certification Course

    ReplyDelete
  7. This is a nice article here with some useful tips for those who are not used-to comment that frequently. Thanks for this helpful information I agree with all points you have given to us. I will follow all of them.
    Data science training in Bangalore | Data Science Training institute in Bangalore

    ReplyDelete

  8. Nice posting..thanks.
    Ijin..info investasi lahan keluarga di San Diego Hills memorial Park bebas biaya perawatan dan kebersihan selamanya klik
    travel trekking tips
    see the link Tent Camping 101 Exploring Smithriver

    ReplyDelete
  9. Nice and very useful blog. A great and very informative post, Keep up the good work!


    Data Science Courses in Bangalore

    ReplyDelete
  10. I really enjoy simply reading all of your weblogs. Simply wanted to inform you that you have people like me who appreciate your work. Definitely a great post. Hats off to you! The information that you have provided is very helpful.
    date analytics certification training courses
    data science courses training

    ReplyDelete
  11. This is a great article thanks for sharing this informative information. I will visit your blog regularly for some latest post. I will visit your blog regularly for Some latest post.
    pmp certification malaysia

    ReplyDelete
  12. I like viewing web sites which comprehend the price of delivering the excellent useful resource free of charge. I truly adored reading your posting. Thank you!
    Data Science Course in Pune

    ReplyDelete
  13. I finally found great post here.I will get back here. I just added your blog to my bookmark sites. thanks.Quality posts is the crucial to invite the visitors to visit the web page, that's what this web page is providing.




    data science course malaysia

    ReplyDelete
  14. This is also a very good post which I really enjoyed reading. It is not every day that I have the possibility to see something like this..
    I love it thanks fo sharing.

    ReplyDelete
  15. Nice information, valuable and excellent design, as share good stuff with good ideas and concepts, lots of great information and inspiration, both of which I need, thanks to offer such a helpful information here.
    www.technewworld.in
    How to Start A blog 2019
    Eid AL ADHA

    ReplyDelete
  16. Really appreciate this wonderful post that you have provided for us.Great site and a great topic as well i really get amazed to read this. Its really good.
    I like viewing web sites which comprehend the price of delivering the excellent useful resource free of charge. I truly adored reading your posting. Thank you!
    Data Science Courses

    ReplyDelete
  17. Excellent Blog! I would like to thank for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well. I wanted to thank you for this websites! Thanks for sharing. Great websites!digital marketing course in singapore

    ReplyDelete