Results 1 to 6 of 6

Thread: Will this command actually install Java?

  1. #1
    Join Date
    Jul 2012
    Beans
    123

    Will this command actually install Java?

    Seems like a stupid question, I know but I need some confirmation before I actually run the following command.
    Code:
    sudo apt-get install openjdk-7-jdk openjdk-7-jre icedtea-7-plugin
    The plugin meaning java will work in browser right?
    And will the code I posted work on Ubuntu 12.04?
    EDIT: A fellow member Chessemill came up with this method.
    Code:
    sudo add-apt-repository ppa:webupd8team/java
    sudo apt-get update
    sudo apt-get install oracle-java7-installer
    Will either of them work? Cheesemill's way will actually keep java up to date.
    Which way is actually preferred?
    Last edited by linuxvstheworld; September 10th, 2012 at 05:43 PM.

  2. #2
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: Will this command actually install Java?

    That will install the Open Source version of Java which is fine for most websites. Some sites, however, refuse to recognise it.

    If this is the case then you can install Oracle Java instead by running the following commands:
    Code:
    sudo add-apt-repository ppa:webupd8team/java
    sudo apt-get update
    sudo apt-get install oracle-java7-installer
    All of this is information can be found in the Ubuntu Wiki.
    https://help.ubuntu.com/community/Java
    Cheesemill

  3. #3
    Join Date
    Jul 2012
    Beans
    123

    Re: Will this command actually install Java?

    Surprised that you actually replied, Cheesemill! Will the way you posted actually run .jar files? That's the main reason for me to actually have java.

  4. #4
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: Will this command actually install Java?

    Yes it will.

    I know that some applications (Minecraft) run better using Oracle Java than they do using OpenJDK.
    Cheesemill

  5. #5
    Join Date
    Jul 2012
    Beans
    123

    Re: Will this command actually install Java?

    Quote Originally Posted by Cheesemill View Post
    Yes it will.

    I know that some applications (Minecraft) run better using Oracle Java than they do using OpenJDK.
    Will it run at least okay though? Like about 20 or so FPS? (Helping my friend get Linux, and he has Minecraft, and using 1.5GB of RAM )
    EDIT: Actually, just noticed the commands you listed which I saved actually get Oracle Java, better read closer next time .
    Thanks for the help!
    Last edited by linuxvstheworld; September 10th, 2012 at 05:58 PM.

  6. #6
    Join Date
    Jun 2011
    Location
    Netherlands
    Beans
    146
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Will this command actually install Java?

    Minecraft runs just fine in openjdk-7.

Tags for this Thread

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
  •