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
ppa:webupd8team/java
unable to locate package oracle-java8-installer
download java for ubuntu
ubuntu set java_home
openjdk 8 ubuntu
update java ubuntu
uninstall java ubuntu


Comments

  1. Khalil Mohammad Mirza1 March 2017 at 15:43

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

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

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

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

    ReplyDelete
  5. vishal maheshwari1 March 2017 at 15:43

    It was really helpful.Thanks!!

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

    ReplyDelete
  7. Sriram Adusumilli1 March 2017 at 15:43

    Thanks for response, issue got solved

    ReplyDelete
  8. Sriram Adusumilli No problem! Happy to help.

    ReplyDelete
  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

    ReplyDelete
  10. marocgame minecraft1 March 2017 at 15:43

    thx minecraft 1.11 run better

    ReplyDelete
  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

    ReplyDelete
  12. shiva chittiprolu1 March 2017 at 15:43

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

    ReplyDelete
  13. thankkkk youuuuu

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

    ReplyDelete
  15. Ruturaj Jadeja1 March 2017 at 15:43

    Great buddy! :)

    ReplyDelete
  16. thanks a lot boss

    ReplyDelete
  17. Lathan Samanthan1 March 2017 at 15:43

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

    ReplyDelete
  18. Rafal noshotgun1 March 2017 at 15:43

    Like allways well and simple explaind- Thank You ;)

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

    ReplyDelete
  20. is it necessary to download environment too??

    ReplyDelete
  21. thanks, this worked..

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

    ReplyDelete

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?

Google Fight Against Low Quality and Spammy Content

  Google's ongoing battle against spammy and low-quality content in search results is an essential aspect of maintaining the platform's credibility and usefulness. Here are some of the new strategies and policies Google is implementing to combat these issues: Improved Quality Ranking : Google is enhancing its core ranking algorithms to prioritize high-quality and original content while reducing the visibility of unoriginal or spammy content in search results. New Spam Policies : Google is updating its spam policies to address emerging tactics used by spammers. This includes targeting practices such as expired websites repurposed as spam repositories, obituary spam, and other manipulative behaviors. Reducing Unoriginal Results : Google is refining its ranking systems to identify and minimize unhelpful, unoriginal content. This includes pages created specifically to match certain search queries and content that prioritizes search engine optimization over user experience. Scaled C

How to Share Folders in Ubuntu Guest with Windows 7 Host using VirtualBox - Learn Online

Oracle VirtualBOX: mounting Windows 7 host folder into guest Oracle VirtualBOX: mounting Windows 7 host folder into guest Sharing folders between Ubuntu guest and Windows Host How to access windows host shared folders from ubuntu guest Share folder between Windows (Host) and Ubuntu (Guest) VirtualBox: access Windows-host shared folders from Ubuntu-guest Access VirtualBox Shared Folder from Ubuntu 12.04