How to install OpenJDK 10 on Ubuntu 19.04 Announcing the arrival of Valued Associate #679:...

Writing a T-SQL stored procedure to receive 4 numbers and insert them into a table

My admission is revoked after accepting the admission offer

Test if all elements of a Foldable are the same

Raising a bilingual kid. When should we introduce the majority language?

TV series episode where humans nuke aliens before decrypting their message that states they come in peace

Why do people think Winterfell crypts is the safest place for women, children & old people?

Preserving file and folder permissions with rsync

Is it accepted to use working hours to read general interest books?

What to do with someone that cheated their way though university and a PhD program?

What is the evidence that custom checks in Northern Ireland are going to result in violence?

What do you call an IPA symbol that lacks a name (e.g. ɲ)?

How would you suggest I follow up with coworkers about our deadline that's today?

What's the difference between using dependency injection with a container and using a service locator?

Israeli soda type drink

Putting Ant-Man on house arrest

How to keep bees out of canned beverages?

In search of the origins of term censor, I hit a dead end stuck with the greek term, to censor, λογοκρίνω

Coin Game with infinite paradox

Is there a way to fake a method response using Mock or Stubs?

A journey... into the MIND

How would it unbalance gameplay to rule that Weapon Master allows for picking a fighting style?

Bright yellow or light yellow?

How to begin with a paragraph in latex

Is there a possibility to generate a list dynamically in Latex?



How to install OpenJDK 10 on Ubuntu 19.04



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30 pm US/Eastern)How do I install Java?How to install the latest Java OpenJDK version?How to install latest OpenJdk on Ubuntu?Replace openjdk with oracle-jdk on UbuntuHow to install OpenJDK 8 on 14.04 LTS?Is the openjdk-r ppa trustworty?OpenJDK Ubuntu 16.04How to install the OpenJDK 8 (Ubuntu 19.04)?Ubuntu 19.04 can not install winehq-stagingHow to install nvm in ubuntu 19.04?How to install Oracle Java 8 on Ubuntu 19.04





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















Is there a way to install OpenJDK 10 on Ubuntu 19.04? Is there maybe a ppa available for that?










share|improve this question


















  • 1





    Possible duplicate of How do I install Java?

    – vidarlo
    7 hours ago


















0















Is there a way to install OpenJDK 10 on Ubuntu 19.04? Is there maybe a ppa available for that?










share|improve this question


















  • 1





    Possible duplicate of How do I install Java?

    – vidarlo
    7 hours ago














0












0








0








Is there a way to install OpenJDK 10 on Ubuntu 19.04? Is there maybe a ppa available for that?










share|improve this question














Is there a way to install OpenJDK 10 on Ubuntu 19.04? Is there maybe a ppa available for that?







java openjdk 19.04






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 9 hours ago









kerner1000kerner1000

4661516




4661516








  • 1





    Possible duplicate of How do I install Java?

    – vidarlo
    7 hours ago














  • 1





    Possible duplicate of How do I install Java?

    – vidarlo
    7 hours ago








1




1





Possible duplicate of How do I install Java?

– vidarlo
7 hours ago





Possible duplicate of How do I install Java?

– vidarlo
7 hours ago










1 Answer
1






active

oldest

votes


















1














OpenJDK 10 was non-LTS version of Java which has now its EOL in September, 2018. That means no future updates or fixes would be provided for this version.



Although PPA openjdk-r do provide JDK10 but since 19.04 (Disco Dingo) was released a few days back, this PPA isn't ready for the very same version. Once it is ready, you can install using that PPA:



sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt update
sudo apt install openjdk-10-jdk openjdk-10-jre




Alternatively, JDK tarball can still be downloaded from OpenJDK archives and configured. To install OpenJDK 10 follow the steps below:





  • Download the tarball



    wget https://download.java.net/java/GA/jdk10/10.0.2/19aef61b38124481863b1413dce1855f/13/openjdk-10.0.2_linux-x64_bin.tar.gz



  • Unpack tar



    tar -xvf openjdk-10.0.2_linux-x64_bin.tar.gz



  • Move the extracted folder to /usr/lib/jdk



    sudo mkdir -p /usr/lib/jdk
    sudo mv jdk-10.0.2 /usr/lib/jdk



  • Update alternatives



    sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk-10.0.2/bin/java" 1
    sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk-10.0.2/bin/javac" 1



  • Configure



    sudo update-alternatives --config java
    sudo update-alternatives --config javac



  • Verify the version



    $ java -version
    openjdk version "10.0.2" 2018-07-17
    OpenJDK Runtime Environment 18.3 (build 10.0.2+13)
    OpenJDK 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)







share|improve this answer


























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1136453%2fhow-to-install-openjdk-10-on-ubuntu-19-04%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    OpenJDK 10 was non-LTS version of Java which has now its EOL in September, 2018. That means no future updates or fixes would be provided for this version.



    Although PPA openjdk-r do provide JDK10 but since 19.04 (Disco Dingo) was released a few days back, this PPA isn't ready for the very same version. Once it is ready, you can install using that PPA:



    sudo add-apt-repository ppa:openjdk-r/ppa
    sudo apt update
    sudo apt install openjdk-10-jdk openjdk-10-jre




    Alternatively, JDK tarball can still be downloaded from OpenJDK archives and configured. To install OpenJDK 10 follow the steps below:





    • Download the tarball



      wget https://download.java.net/java/GA/jdk10/10.0.2/19aef61b38124481863b1413dce1855f/13/openjdk-10.0.2_linux-x64_bin.tar.gz



    • Unpack tar



      tar -xvf openjdk-10.0.2_linux-x64_bin.tar.gz



    • Move the extracted folder to /usr/lib/jdk



      sudo mkdir -p /usr/lib/jdk
      sudo mv jdk-10.0.2 /usr/lib/jdk



    • Update alternatives



      sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk-10.0.2/bin/java" 1
      sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk-10.0.2/bin/javac" 1



    • Configure



      sudo update-alternatives --config java
      sudo update-alternatives --config javac



    • Verify the version



      $ java -version
      openjdk version "10.0.2" 2018-07-17
      OpenJDK Runtime Environment 18.3 (build 10.0.2+13)
      OpenJDK 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)







    share|improve this answer






























      1














      OpenJDK 10 was non-LTS version of Java which has now its EOL in September, 2018. That means no future updates or fixes would be provided for this version.



      Although PPA openjdk-r do provide JDK10 but since 19.04 (Disco Dingo) was released a few days back, this PPA isn't ready for the very same version. Once it is ready, you can install using that PPA:



      sudo add-apt-repository ppa:openjdk-r/ppa
      sudo apt update
      sudo apt install openjdk-10-jdk openjdk-10-jre




      Alternatively, JDK tarball can still be downloaded from OpenJDK archives and configured. To install OpenJDK 10 follow the steps below:





      • Download the tarball



        wget https://download.java.net/java/GA/jdk10/10.0.2/19aef61b38124481863b1413dce1855f/13/openjdk-10.0.2_linux-x64_bin.tar.gz



      • Unpack tar



        tar -xvf openjdk-10.0.2_linux-x64_bin.tar.gz



      • Move the extracted folder to /usr/lib/jdk



        sudo mkdir -p /usr/lib/jdk
        sudo mv jdk-10.0.2 /usr/lib/jdk



      • Update alternatives



        sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk-10.0.2/bin/java" 1
        sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk-10.0.2/bin/javac" 1



      • Configure



        sudo update-alternatives --config java
        sudo update-alternatives --config javac



      • Verify the version



        $ java -version
        openjdk version "10.0.2" 2018-07-17
        OpenJDK Runtime Environment 18.3 (build 10.0.2+13)
        OpenJDK 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)







      share|improve this answer




























        1












        1








        1







        OpenJDK 10 was non-LTS version of Java which has now its EOL in September, 2018. That means no future updates or fixes would be provided for this version.



        Although PPA openjdk-r do provide JDK10 but since 19.04 (Disco Dingo) was released a few days back, this PPA isn't ready for the very same version. Once it is ready, you can install using that PPA:



        sudo add-apt-repository ppa:openjdk-r/ppa
        sudo apt update
        sudo apt install openjdk-10-jdk openjdk-10-jre




        Alternatively, JDK tarball can still be downloaded from OpenJDK archives and configured. To install OpenJDK 10 follow the steps below:





        • Download the tarball



          wget https://download.java.net/java/GA/jdk10/10.0.2/19aef61b38124481863b1413dce1855f/13/openjdk-10.0.2_linux-x64_bin.tar.gz



        • Unpack tar



          tar -xvf openjdk-10.0.2_linux-x64_bin.tar.gz



        • Move the extracted folder to /usr/lib/jdk



          sudo mkdir -p /usr/lib/jdk
          sudo mv jdk-10.0.2 /usr/lib/jdk



        • Update alternatives



          sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk-10.0.2/bin/java" 1
          sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk-10.0.2/bin/javac" 1



        • Configure



          sudo update-alternatives --config java
          sudo update-alternatives --config javac



        • Verify the version



          $ java -version
          openjdk version "10.0.2" 2018-07-17
          OpenJDK Runtime Environment 18.3 (build 10.0.2+13)
          OpenJDK 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)







        share|improve this answer















        OpenJDK 10 was non-LTS version of Java which has now its EOL in September, 2018. That means no future updates or fixes would be provided for this version.



        Although PPA openjdk-r do provide JDK10 but since 19.04 (Disco Dingo) was released a few days back, this PPA isn't ready for the very same version. Once it is ready, you can install using that PPA:



        sudo add-apt-repository ppa:openjdk-r/ppa
        sudo apt update
        sudo apt install openjdk-10-jdk openjdk-10-jre




        Alternatively, JDK tarball can still be downloaded from OpenJDK archives and configured. To install OpenJDK 10 follow the steps below:





        • Download the tarball



          wget https://download.java.net/java/GA/jdk10/10.0.2/19aef61b38124481863b1413dce1855f/13/openjdk-10.0.2_linux-x64_bin.tar.gz



        • Unpack tar



          tar -xvf openjdk-10.0.2_linux-x64_bin.tar.gz



        • Move the extracted folder to /usr/lib/jdk



          sudo mkdir -p /usr/lib/jdk
          sudo mv jdk-10.0.2 /usr/lib/jdk



        • Update alternatives



          sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk-10.0.2/bin/java" 1
          sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk-10.0.2/bin/javac" 1



        • Configure



          sudo update-alternatives --config java
          sudo update-alternatives --config javac



        • Verify the version



          $ java -version
          openjdk version "10.0.2" 2018-07-17
          OpenJDK Runtime Environment 18.3 (build 10.0.2+13)
          OpenJDK 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)








        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 9 hours ago

























        answered 9 hours ago









        KulfyKulfy

        5,50361945




        5,50361945






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1136453%2fhow-to-install-openjdk-10-on-ubuntu-19-04%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

            Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

            Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...