Installing java 11 and getting java 10 [duplicate]












1
















This question already has an answer here:




  • Why is OpenJDK 10 packaged as openjdk-11-*?

    2 answers




I've installed in Ubuntu bionic the following package in a 64 bits system:



apt install openjdk-11-jdk


Now I try the new java:



/usr/lib/jvm/java-11-openjdk-amd64/bin/java -version
openjdk version "10.0.2" 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode)


The question is why I'm getting Java 10 instead of 11.



With this command, I see that no other java is installed in my system:



# update-alternatives --config java









share|improve this question













marked as duplicate by Kulfy, Community Mar 11 at 11:10


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.























    1
















    This question already has an answer here:




    • Why is OpenJDK 10 packaged as openjdk-11-*?

      2 answers




    I've installed in Ubuntu bionic the following package in a 64 bits system:



    apt install openjdk-11-jdk


    Now I try the new java:



    /usr/lib/jvm/java-11-openjdk-amd64/bin/java -version
    openjdk version "10.0.2" 2018-07-17
    OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4)
    OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode)


    The question is why I'm getting Java 10 instead of 11.



    With this command, I see that no other java is installed in my system:



    # update-alternatives --config java









    share|improve this question













    marked as duplicate by Kulfy, Community Mar 11 at 11:10


    This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.





















      1












      1








      1









      This question already has an answer here:




      • Why is OpenJDK 10 packaged as openjdk-11-*?

        2 answers




      I've installed in Ubuntu bionic the following package in a 64 bits system:



      apt install openjdk-11-jdk


      Now I try the new java:



      /usr/lib/jvm/java-11-openjdk-amd64/bin/java -version
      openjdk version "10.0.2" 2018-07-17
      OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4)
      OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode)


      The question is why I'm getting Java 10 instead of 11.



      With this command, I see that no other java is installed in my system:



      # update-alternatives --config java









      share|improve this question















      This question already has an answer here:




      • Why is OpenJDK 10 packaged as openjdk-11-*?

        2 answers




      I've installed in Ubuntu bionic the following package in a 64 bits system:



      apt install openjdk-11-jdk


      Now I try the new java:



      /usr/lib/jvm/java-11-openjdk-amd64/bin/java -version
      openjdk version "10.0.2" 2018-07-17
      OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4)
      OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode)


      The question is why I'm getting Java 10 instead of 11.



      With this command, I see that no other java is installed in my system:



      # update-alternatives --config java




      This question already has an answer here:




      • Why is OpenJDK 10 packaged as openjdk-11-*?

        2 answers








      apt java






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 11 at 8:18









      david.perezdavid.perez

      1539




      1539




      marked as duplicate by Kulfy, Community Mar 11 at 11:10


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









      marked as duplicate by Kulfy, Community Mar 11 at 11:10


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
























          2 Answers
          2






          active

          oldest

          votes


















          1














          If you want to install OpenJDK 11, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:



          sudo add-apt-repository ppa:openjdk-r/ppa
          sudo apt-get update
          sudo apt install openjdk-11-jdk


          Source:1.






          share|improve this answer































            1














            Here is an explanation of the confusing name of the package.




            The Ubuntu Foundation Team made an SRU exception for OpenJDK. Although
            version 10 is a non-LTS release, they've packaged it as openjdk-11-jdk
            until OpenJDK 11 goes GA. This choice was based on that assumption
            that there is a much smaller interface delta between releases 10 and
            11 than it would be between 8 and 11.



            That's a fairly good reasoning and perhaps an apt-get upgrade wouldn't
            screw things up that badly when OpenJDK's version gets bumped up from
            10 to 11.







            share|improve this answer






























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              1














              If you want to install OpenJDK 11, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:



              sudo add-apt-repository ppa:openjdk-r/ppa
              sudo apt-get update
              sudo apt install openjdk-11-jdk


              Source:1.






              share|improve this answer




























                1














                If you want to install OpenJDK 11, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:



                sudo add-apt-repository ppa:openjdk-r/ppa
                sudo apt-get update
                sudo apt install openjdk-11-jdk


                Source:1.






                share|improve this answer


























                  1












                  1








                  1







                  If you want to install OpenJDK 11, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:



                  sudo add-apt-repository ppa:openjdk-r/ppa
                  sudo apt-get update
                  sudo apt install openjdk-11-jdk


                  Source:1.






                  share|improve this answer













                  If you want to install OpenJDK 11, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:



                  sudo add-apt-repository ppa:openjdk-r/ppa
                  sudo apt-get update
                  sudo apt install openjdk-11-jdk


                  Source:1.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Mar 11 at 8:30









                  MitchMitch

                  85.1k14173231




                  85.1k14173231

























                      1














                      Here is an explanation of the confusing name of the package.




                      The Ubuntu Foundation Team made an SRU exception for OpenJDK. Although
                      version 10 is a non-LTS release, they've packaged it as openjdk-11-jdk
                      until OpenJDK 11 goes GA. This choice was based on that assumption
                      that there is a much smaller interface delta between releases 10 and
                      11 than it would be between 8 and 11.



                      That's a fairly good reasoning and perhaps an apt-get upgrade wouldn't
                      screw things up that badly when OpenJDK's version gets bumped up from
                      10 to 11.







                      share|improve this answer




























                        1














                        Here is an explanation of the confusing name of the package.




                        The Ubuntu Foundation Team made an SRU exception for OpenJDK. Although
                        version 10 is a non-LTS release, they've packaged it as openjdk-11-jdk
                        until OpenJDK 11 goes GA. This choice was based on that assumption
                        that there is a much smaller interface delta between releases 10 and
                        11 than it would be between 8 and 11.



                        That's a fairly good reasoning and perhaps an apt-get upgrade wouldn't
                        screw things up that badly when OpenJDK's version gets bumped up from
                        10 to 11.







                        share|improve this answer


























                          1












                          1








                          1







                          Here is an explanation of the confusing name of the package.




                          The Ubuntu Foundation Team made an SRU exception for OpenJDK. Although
                          version 10 is a non-LTS release, they've packaged it as openjdk-11-jdk
                          until OpenJDK 11 goes GA. This choice was based on that assumption
                          that there is a much smaller interface delta between releases 10 and
                          11 than it would be between 8 and 11.



                          That's a fairly good reasoning and perhaps an apt-get upgrade wouldn't
                          screw things up that badly when OpenJDK's version gets bumped up from
                          10 to 11.







                          share|improve this answer













                          Here is an explanation of the confusing name of the package.




                          The Ubuntu Foundation Team made an SRU exception for OpenJDK. Although
                          version 10 is a non-LTS release, they've packaged it as openjdk-11-jdk
                          until OpenJDK 11 goes GA. This choice was based on that assumption
                          that there is a much smaller interface delta between releases 10 and
                          11 than it would be between 8 and 11.



                          That's a fairly good reasoning and perhaps an apt-get upgrade wouldn't
                          screw things up that badly when OpenJDK's version gets bumped up from
                          10 to 11.








                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Mar 11 at 10:58









                          david.perezdavid.perez

                          1539




                          1539















                              Popular posts from this blog

                              數位音樂下載

                              格利澤436b

                              When can things happen in Etherscan, such as the picture below?