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

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

Update Repo
#sudo apt-get update

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

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

Check Version
#java -version

Remove Oracle Java 8
Check which JDK packages are installed

#sudo dpkg --list | grep -i jdk

Remove Oracle Java 8

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

Check that all JDK packages have been removed

#sudo dpkg --list | grep -i jdk


  1. very simple, nice, thanks for all.

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

  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

  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:
    Contact Number: 1-800-450-8670
    Email Address-
    Company’s Address- 507 Copper Square Drive Bethel Connecticut (USA) 06801

  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


  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