Skip to main content

How to install Oracle Java JDK on Ubuntu Linux (14.04 LTS) - Learn Online

sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

ensure your JAVA_HOME variable has been set to:
export JAVA_HOME=/usr/lib/jvm/java-8-oracle

How can I install Sun/Oracle's proprietary Java JDK 6/7/8 or JRE?
How to install Oracle Java on Ubuntu 14.04?
Easy Ways to Install Oracle Java JDK on Ubuntu Linux
How To Install Java on Ubuntu with Apt-Get
Searches related to How to install Oracle Java JDK on Ubuntu
ubuntu install jdk 8
unable to locate package oracle-java8-installer
download java for ubuntu
ubuntu set java_home
openjdk 8 ubuntu
update java ubuntu
uninstall java ubuntu


  1. Khalil Mohammad Mirza1 March 2017 at 15:43

    it's showing an error"unable to locate package oracle-javaB-installer"

  2. thansk boss!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  3. error when typing gedit /etc/profile please help:D

  4. After completing 58% it wouldn't proceed anymore.When I want to re-install it again , it shows this error after executing the 3rd command : Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
    Moreover when i was going to download the jvm file which was created on first installetion time, this file can't be deleted.What should i do now ?

  5. vishal maheshwari1 March 2017 at 15:43

    It was really helpful.Thanks!!

  6. Sriram Adusumilli Try doing this in root or give the user you have selected admin privileges.

  7. Sriram Adusumilli1 March 2017 at 15:43

    Thanks for response, issue got solved

  8. Sriram Adusumilli No problem! Happy to help.

  9. Sriram Adusumilli1 March 2017 at 15:43

    i am trying to install in ubuntu 16.04 in second step it says 0 percent it says connecting us.ubutu... and nothing is going after plz help me

  10. marocgame minecraft1 March 2017 at 15:43

    thx minecraft 1.11 run better

  11. smrutiprajna mallick1 March 2017 at 15:43

    mruti@smruti:~$ sudo apt-get install oracle-java8-installer
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following additional packages will be installed:
    gsfonts-x11 oracle-java8-set-default
    Suggested packages:
    binfmt-support visualvm ttf-baekmuk | ttf-unfonts | ttf-unfonts-core ttf-kochi-gothic | ttf-sazanami-gothic ttf-kochi-mincho
    | ttf-sazanami-mincho ttf-arphic-uming
    The following NEW packages will be installed:
    gsfonts-x11 oracle-java8-installer oracle-java8-set-default
    0 upgraded, 3 newly installed, 0 to remove and 123 not upgraded.
    Need to get 36.4 kB of archives.
    After this operation, 209 kB of additional disk space will be used.
    Do you want to continue? [Y/n]
    WARNING: The following packages cannot be authenticated!
    oracle-java8-installer oracle-java8-set-default
    Install these packages without verification? [y/N]
    E: Some packages could not be authenticated
    sir after given third command showing this problem.what can i do.please help me

  12. shiva chittiprolu1 March 2017 at 15:43

    after pasting third command it's showing an error"unable to locate package oracle-javaB-installer"

  13. thankkkk youuuuu

  14. help me its showing me an warning: ** (gedit:5601): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported

  15. Ruturaj Jadeja1 March 2017 at 15:43

    Great buddy! :)

  16. thanks a lot boss

  17. Lathan Samanthan1 March 2017 at 15:43

    WHAT i did not even see the commands!!!!!!!!!!!:(

  18. Rafal noshotgun1 March 2017 at 15:43

    Like allways well and simple explaind- Thank You ;)

  19. help me after performing 2nd command no update are showing instead it shows

    dangerous@dangerous-HP-Pavilion-Gaming-Notebook:~$ sudo apt-get update
    E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
    E: Unable to lock directory /var/lib/apt/lists/
    E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
    E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

  20. is it necessary to download environment too??

  21. thanks, this worked..

  22. after i copy and paste the first command this shows up "k****** is not in the sudoers file. This incident will be reported." can anyone please tell me why does this show up?


Post a Comment

Popular posts from this blog

C++ Programming Tutorial - How to Install Code::Blocks in Ubuntu Linux - Learn Online

Installing Code::Blocks How do I Install Code::Blocks HOWTO: Installing Code::Blocks 10.05 How do you install Irrlicht on Code::Blocks? How do you install CodeBlock on ubuntu? codeblocks /bin/sh: g++: not found Installing codeblocks on ubuntu Installing Code::Blocks on Ubuntu 10.04?

Facebook Advertising Coupon – What Happened?

It used to be that Facebook had many different promotions in which they gave out free $50 advertising coupons. Facebook Advertising Coupon is only getting from some hosting service that is include in godaddy Hostgator and 1and1, If you do a search for “Free Facebook Coupons” on Google you’ll probably see some results like this: Free coupon when you buy WordPress hosting through GoDaddy Free coupon when you setup a DIY website through specific website builders Free coupon when you “like” Facebook’s Marketing page Unfortunately none of these are still active. What happened is in mid-2015 Facebook tightened their hold on advertising credit coupons, likely in response to companies who were “reselling” coupons on eBay and Fiverr. As a result, Facebook ended many of these promotions. Facebook Advertising Coupon Facebook Ads can get expensive pretty quickly. There’s no secret about that. And with organic reach continuing to decline with the most recent algorithm update to th

Contextual Design and Development is the Driving Force Behind all Successful Mobile Applications

The time of ordinary custom web application design & development is long gone. Today the focus is on contextual design and development. It is the rise in the popularity of mobile applications that has provided the impetus for giving importance to ‘context’ when it comes to app or web development. Let’s focus our attention on mobile applications and why mobile applications need to be developed keeping the context in mind. Because they are used in diverse locations Let’s face it. We all love mobile apps because they can be used just about anywhere and at any given point of time. Yes, that’s right, they can be used in offices, on a train, in the kitchen, movie theatre and the list just goes on. So, the app needs to be developed in context of the location. Different users have different needs when it comes to a mobile app and these needs, in part, are determined by their location. For e.g. if a developer thinks a particular app that is in the process of being developed will onl