Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: How to install Oracle Java 8. (Includes JDK and JRE)

  1. #1
    Join Date
    Oct 2014
    Beans
    3

    How to install Oracle Java 8. (Includes JDK and JRE)

    Firstly, trust me with this, because you can look up how to install this on Google and it will show the same info I am teaching you now.

    Now, on with the tutorial.

    First, open XTerm on Lubuntu & Kubuntu , Terminal Emulator on Xubuntu, and Terminal on Ubuntu (Main flavor), and type in what's below:


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

    Then, a text-only UI will appear with a Terms and Conditions window and after that a Yes/No window saying for you to agree to the Oracle Java Binary Agreement or something along those lines. Select Yes and Java 8 will continue with the install. After about 6 minutes (Since that's how long it took me to install this) the install will be finished and you can do whatever you need to with the Java Development Kit and/or Java Runtime Environment (Or JRE for short).

    Aaron out!!!!

  2. #2
    Join Date
    Oct 2013
    Beans
    7

    Re: How to install Oracle Java 8. (Includes JDK and JRE)

    svradmin@logstash2:~$ sudo add-apt-repository ppa:webupd8team/java
    Cannot add PPA: 'ppa:webupd8team/java'.
    Please check that the PPA name or format is correct.
    svradmin@logstash2:~$

  3. #3
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: How to install Oracle Java 8. (Includes JDK and JRE)

    @treykuhl : would you happen to be behind a proxy ?
    Edit : or may be this : http://www.webupd8.org/2014/03/fix-c...heck-that.html
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests / username changes by PM, thanks. |
    [SIGPIC][/SIGPIC]

  4. #4
    Join Date
    Oct 2013
    Beans
    7

    Re: How to install Oracle Java 8. (Includes JDK and JRE)

    no proxy

    but your cert link comments lead me to realize system time/date was off which was causing problem. my ubuntu server command line foo is weaksauce...too many years playing in windows gui's

    got ntp installed need to get it running with job or something now. trying out a logstash so timestamps are a little crucial

    spanks

  5. #5
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: How to install Oracle Java 8. (Includes JDK and JRE)

    Hey, glad to see you found what was going strange

    Please mark your thread as solved (under thread tools), thanks !
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests / username changes by PM, thanks. |
    [SIGPIC][/SIGPIC]

  6. #6
    Join Date
    Oct 2013
    Beans
    7

    Re: How to install Oracle Java 8. (Includes JDK and JRE)

    since the thread was started by someone else it doesn't appear i have an option to mark it resolved?

  7. #7
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: How to install Oracle Java 8. (Includes JDK and JRE)

    Quote Originally Posted by treykuhl View Post
    since the thread was started by someone else it doesn't appear i have an option to mark it resolved?
    Oh sorry, I totally missed that /o\
    No, you cannot. let's see if the OP will be back to say their issue is solved or not.
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests / username changes by PM, thanks. |
    [SIGPIC][/SIGPIC]

  8. #8
    Join Date
    Oct 2013
    Beans
    7

    Re: How to install Oracle Java 8. (Includes JDK and JRE)

    Sure thing. this is actually listed as a "tutorial" not a problem/incident thread. i posted in here so the answer may be included into the tutorial as known issues which would be valuable for other folks down the road instead of hunting through 3-4 threads to do a simple java install.

  9. #9
    Join Date
    Aug 2014
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How to install Oracle Java 8. (Includes JDK and JRE)

    The website guide where the ppa comes from gives more info than you gave here.
    http://www.webupd8.org/2012/09/insta...u-via-ppa.html
    or
    https://help.ubuntu.com/community/Java

  10. #10
    Join Date
    Feb 2014
    Beans
    1

    Re: How to install Oracle Java 8. (Includes JDK and JRE)

    The third command is listed as
    Code:
    sudo apt-get oracle-java8-installer
    I believe that should be
    Code:
    sudo apt-get install oracle-java8-installer

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •