OpenJDK 8 or 9? Announcing the arrival of Valued Associate #679: Cesar Manara ...

Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?

Question about debouncing - delay of state change

SF book about people trapped in a series of worlds they imagine

Illegal assignment from sObject to Id

Why weren't discrete x86 CPUs ever used in game hardware?

How to tell that you are a giant?

What do you call the main part of a joke?

Chinese Seal on silk painting - what does it mean?

Most bit efficient text communication method?

How to install press fit bottom bracket into new frame

Maximum summed subsequences with non-adjacent items

Why does it sometimes sound good to play a grace note as a lead in to a note in a melody?

Is it possible for SQL statements to execute concurrently within a single session in SQL Server?

Drawing without replacement: why is the order of draw irrelevant?

Why is Nikon 1.4g better when Nikon 1.8g is sharper?

What is "gratricide"?

Is it fair for a professor to grade us on the possession of past papers?

Did Deadpool rescue all of the X-Force?

How could we fake a moon landing now?

How can I reduce the gap between left and right of cdot with a macro?

Why does the remaining Rebel fleet at the end of Rogue One seem dramatically larger than the one in A New Hope?

How does the math work when buying airline miles?

How fail-safe is nr as stop bytes?

Do I really need to have a message in a novel to appeal to readers?



OpenJDK 8 or 9?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)No java command after installing JDKupdate-java-alternatives vs update-alternatives --config javaWhy new project is not opening in Netbeans in ubuntu 16.04?How to install openjdk-7-jdk on Ubuntu 12.04 without dragging in unrelated GUI and sound packages?Installing OpenJDK on (chr)Lubuntu 14.04 on Acer C710Can't install anything via apt-get - openjdk errorsTrying To Install Java 8.. Unable to locate package openjdk-8-jreHow to install OpenJDK 8 on 15.10?How can I install OpenJDK on Ubuntu 16.04?





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







3















After issuing apt-cache search jdk, I see both openjdk-8-jdk and openjdk-9-jdk listed. I am unsure which one I should install.



I took a look at SDK downloads from Oracle's website below, and I wasn't able to immediately find SDK 9. Why would this be the case?



http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html










share|improve this question





























    3















    After issuing apt-cache search jdk, I see both openjdk-8-jdk and openjdk-9-jdk listed. I am unsure which one I should install.



    I took a look at SDK downloads from Oracle's website below, and I wasn't able to immediately find SDK 9. Why would this be the case?



    http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html










    share|improve this question

























      3












      3








      3


      2






      After issuing apt-cache search jdk, I see both openjdk-8-jdk and openjdk-9-jdk listed. I am unsure which one I should install.



      I took a look at SDK downloads from Oracle's website below, and I wasn't able to immediately find SDK 9. Why would this be the case?



      http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html










      share|improve this question














      After issuing apt-cache search jdk, I see both openjdk-8-jdk and openjdk-9-jdk listed. I am unsure which one I should install.



      I took a look at SDK downloads from Oracle's website below, and I wasn't able to immediately find SDK 9. Why would this be the case?



      http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html







      software-installation






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 25 '17 at 7:46









      flow2kflow2k

      11814




      11814






















          2 Answers
          2






          active

          oldest

          votes


















          3














          If you are planning to install NetBeans then install openjdk-8-jdk because openjdk-9-jdk is not compatible with NetBeans from the default Ubuntu repositories, at least it is not compatible with NetBeans in Ubuntu 16.04. NetBeans from the default Ubuntu 18.04 and later repositories, is compatible with openjdk-11-jdk.



          Another alternative is to install both openjdk-8-jdk and openjdk-9-jdk and use either update-alternatives (which is installed by default in Ubuntu) or update-java-alternatives (which is installed when openjdk-8-jdk is installed) to manually choose which Java to use before running an application. See update-java-alternatives vs update-alternatives --config java.






          share|improve this answer

































            3














            Java 9 is still in development. You can find official downloads of it at http://jdk.java.net/9/. Which version you should download is entirely a a question of what you plan to do with it.



            Edit:
            It has been officially released on 2017 Sep.






            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%2f896682%2fopenjdk-8-or-9%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              3














              If you are planning to install NetBeans then install openjdk-8-jdk because openjdk-9-jdk is not compatible with NetBeans from the default Ubuntu repositories, at least it is not compatible with NetBeans in Ubuntu 16.04. NetBeans from the default Ubuntu 18.04 and later repositories, is compatible with openjdk-11-jdk.



              Another alternative is to install both openjdk-8-jdk and openjdk-9-jdk and use either update-alternatives (which is installed by default in Ubuntu) or update-java-alternatives (which is installed when openjdk-8-jdk is installed) to manually choose which Java to use before running an application. See update-java-alternatives vs update-alternatives --config java.






              share|improve this answer






























                3














                If you are planning to install NetBeans then install openjdk-8-jdk because openjdk-9-jdk is not compatible with NetBeans from the default Ubuntu repositories, at least it is not compatible with NetBeans in Ubuntu 16.04. NetBeans from the default Ubuntu 18.04 and later repositories, is compatible with openjdk-11-jdk.



                Another alternative is to install both openjdk-8-jdk and openjdk-9-jdk and use either update-alternatives (which is installed by default in Ubuntu) or update-java-alternatives (which is installed when openjdk-8-jdk is installed) to manually choose which Java to use before running an application. See update-java-alternatives vs update-alternatives --config java.






                share|improve this answer




























                  3












                  3








                  3







                  If you are planning to install NetBeans then install openjdk-8-jdk because openjdk-9-jdk is not compatible with NetBeans from the default Ubuntu repositories, at least it is not compatible with NetBeans in Ubuntu 16.04. NetBeans from the default Ubuntu 18.04 and later repositories, is compatible with openjdk-11-jdk.



                  Another alternative is to install both openjdk-8-jdk and openjdk-9-jdk and use either update-alternatives (which is installed by default in Ubuntu) or update-java-alternatives (which is installed when openjdk-8-jdk is installed) to manually choose which Java to use before running an application. See update-java-alternatives vs update-alternatives --config java.






                  share|improve this answer















                  If you are planning to install NetBeans then install openjdk-8-jdk because openjdk-9-jdk is not compatible with NetBeans from the default Ubuntu repositories, at least it is not compatible with NetBeans in Ubuntu 16.04. NetBeans from the default Ubuntu 18.04 and later repositories, is compatible with openjdk-11-jdk.



                  Another alternative is to install both openjdk-8-jdk and openjdk-9-jdk and use either update-alternatives (which is installed by default in Ubuntu) or update-java-alternatives (which is installed when openjdk-8-jdk is installed) to manually choose which Java to use before running an application. See update-java-alternatives vs update-alternatives --config java.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited 20 mins ago

























                  answered Mar 25 '17 at 7:50









                  karelkarel

                  61.1k13132155




                  61.1k13132155

























                      3














                      Java 9 is still in development. You can find official downloads of it at http://jdk.java.net/9/. Which version you should download is entirely a a question of what you plan to do with it.



                      Edit:
                      It has been officially released on 2017 Sep.






                      share|improve this answer






























                        3














                        Java 9 is still in development. You can find official downloads of it at http://jdk.java.net/9/. Which version you should download is entirely a a question of what you plan to do with it.



                        Edit:
                        It has been officially released on 2017 Sep.






                        share|improve this answer




























                          3












                          3








                          3







                          Java 9 is still in development. You can find official downloads of it at http://jdk.java.net/9/. Which version you should download is entirely a a question of what you plan to do with it.



                          Edit:
                          It has been officially released on 2017 Sep.






                          share|improve this answer















                          Java 9 is still in development. You can find official downloads of it at http://jdk.java.net/9/. Which version you should download is entirely a a question of what you plan to do with it.



                          Edit:
                          It has been officially released on 2017 Sep.







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Oct 4 '17 at 11:55









                          Kayvan Tehrani

                          128110




                          128110










                          answered Mar 25 '17 at 7:50









                          murumuru

                          1




                          1






























                              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%2f896682%2fopenjdk-8-or-9%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...

                              Simple Scan not detecting my scanner (Brother DCP-7055W)Brother MFC-L2700DW printer can print, can't...