How do I install Netbeans 9.0/10.0?












9















A lot has been changed since the release of Netbeans 9.0/10.0. I want a guide for How should I install Netbeans version 9.0/10.0?.










share|improve this question





























    9















    A lot has been changed since the release of Netbeans 9.0/10.0. I want a guide for How should I install Netbeans version 9.0/10.0?.










    share|improve this question



























      9












      9








      9


      5






      A lot has been changed since the release of Netbeans 9.0/10.0. I want a guide for How should I install Netbeans version 9.0/10.0?.










      share|improve this question
















      A lot has been changed since the release of Netbeans 9.0/10.0. I want a guide for How should I install Netbeans version 9.0/10.0?.







      java netbeans






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 29 '18 at 19:05







      Kulfy

















      asked Sep 18 '18 at 19:11









      KulfyKulfy

      4,50151542




      4,50151542






















          2 Answers
          2






          active

          oldest

          votes


















          11














          Note: According to Apache NetBeans' release notes (which can be found on Releases / Apache NetBeans under corresponding release) NetBeans 9.0 is compatible with JDK 8, 9 and 10 while NetBeans 10.0 is compatible with JDK 8, 9, 10 and 11. Building NetBeans with an incompatible JDK might cause build errors. Moreover JDK 9 and 10 were non-LTS version of Java which seems to be obsolete as of now and are no longer available in Ubuntu's official repository. The installation process of both is described below.





          • Building from Source:





            1. Download the source zip for:




              • NetBeans 9.0 from the direct download link


              • NetBeans 10.0 from Apache Download Mirrors





            2. Install either Oracle JDK or OpenJDK.





              • For Oracle JDK8: Download JDK8 from here and run these commands:



                sudo su
                mkdir /opt/jdk
                tar -zxf jdk-8u181-linux-x64.tar.gz -C /opt/jdk
                update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_181/bin/java 100
                update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_181/bin/java 100



              • For OpenJDK8, run



                sudo apt install openjdk-8-jdk
                sudo apt install openjdk-8-jre



              • For OpenJDK11, run



                sudo apt install openjdk-11-jdk
                sudo apt install openjdk-11-jre





            3. Install Apache ANT: For installing Apache Ant, run



              sudo apt install ant


            4. Once you’re all set just extract the downloaded source, enter the incubator-netbeans directory and type ant to build the Apache NetBeans IDE.


            5. Once built, the IDE bits are placed in the ./nbbuild/netbeans directory. You can run the IDE from within the incubator-netbeans directory by typing ./nbbuild/netbeans/bin/netbeans or use ant tryme to run the Apache NetBeans IDE.










          • Installing from Binaries:




            • For NetBeans 9.0: Download the binary zip for NetBeans 9.0 from the direct download link.



            • For NetBeans 10.0: Download the binary zip for NetBeans 10.0 from Apache Download Mirrors



              Unpack the zip and run netbeans in bin folder using ./netbeans. I'll suggest to make a desktop entry a.k.a. menu shortcut. For details about it read How can I create launchers on my desktop? - Ask Ubuntu.










          share|improve this answer

































            1














            Apache NetBeans (incubating) can be installed from Ubuntu Software Center directly. The last version is 10.0 and updated at 01.22.2019 .






            share|improve this answer
























            • Ah! I see. +1 for the info, That's a snap package. Well this may install netbeans 10.0 but still I don't prefer Snaps because of its cons listed here

              – Kulfy
              Jan 25 at 16:45











            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%2f1076408%2fhow-do-i-install-netbeans-9-0-10-0%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









            11














            Note: According to Apache NetBeans' release notes (which can be found on Releases / Apache NetBeans under corresponding release) NetBeans 9.0 is compatible with JDK 8, 9 and 10 while NetBeans 10.0 is compatible with JDK 8, 9, 10 and 11. Building NetBeans with an incompatible JDK might cause build errors. Moreover JDK 9 and 10 were non-LTS version of Java which seems to be obsolete as of now and are no longer available in Ubuntu's official repository. The installation process of both is described below.





            • Building from Source:





              1. Download the source zip for:




                • NetBeans 9.0 from the direct download link


                • NetBeans 10.0 from Apache Download Mirrors





              2. Install either Oracle JDK or OpenJDK.





                • For Oracle JDK8: Download JDK8 from here and run these commands:



                  sudo su
                  mkdir /opt/jdk
                  tar -zxf jdk-8u181-linux-x64.tar.gz -C /opt/jdk
                  update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_181/bin/java 100
                  update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_181/bin/java 100



                • For OpenJDK8, run



                  sudo apt install openjdk-8-jdk
                  sudo apt install openjdk-8-jre



                • For OpenJDK11, run



                  sudo apt install openjdk-11-jdk
                  sudo apt install openjdk-11-jre





              3. Install Apache ANT: For installing Apache Ant, run



                sudo apt install ant


              4. Once you’re all set just extract the downloaded source, enter the incubator-netbeans directory and type ant to build the Apache NetBeans IDE.


              5. Once built, the IDE bits are placed in the ./nbbuild/netbeans directory. You can run the IDE from within the incubator-netbeans directory by typing ./nbbuild/netbeans/bin/netbeans or use ant tryme to run the Apache NetBeans IDE.










            • Installing from Binaries:




              • For NetBeans 9.0: Download the binary zip for NetBeans 9.0 from the direct download link.



              • For NetBeans 10.0: Download the binary zip for NetBeans 10.0 from Apache Download Mirrors



                Unpack the zip and run netbeans in bin folder using ./netbeans. I'll suggest to make a desktop entry a.k.a. menu shortcut. For details about it read How can I create launchers on my desktop? - Ask Ubuntu.










            share|improve this answer






























              11














              Note: According to Apache NetBeans' release notes (which can be found on Releases / Apache NetBeans under corresponding release) NetBeans 9.0 is compatible with JDK 8, 9 and 10 while NetBeans 10.0 is compatible with JDK 8, 9, 10 and 11. Building NetBeans with an incompatible JDK might cause build errors. Moreover JDK 9 and 10 were non-LTS version of Java which seems to be obsolete as of now and are no longer available in Ubuntu's official repository. The installation process of both is described below.





              • Building from Source:





                1. Download the source zip for:




                  • NetBeans 9.0 from the direct download link


                  • NetBeans 10.0 from Apache Download Mirrors





                2. Install either Oracle JDK or OpenJDK.





                  • For Oracle JDK8: Download JDK8 from here and run these commands:



                    sudo su
                    mkdir /opt/jdk
                    tar -zxf jdk-8u181-linux-x64.tar.gz -C /opt/jdk
                    update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_181/bin/java 100
                    update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_181/bin/java 100



                  • For OpenJDK8, run



                    sudo apt install openjdk-8-jdk
                    sudo apt install openjdk-8-jre



                  • For OpenJDK11, run



                    sudo apt install openjdk-11-jdk
                    sudo apt install openjdk-11-jre





                3. Install Apache ANT: For installing Apache Ant, run



                  sudo apt install ant


                4. Once you’re all set just extract the downloaded source, enter the incubator-netbeans directory and type ant to build the Apache NetBeans IDE.


                5. Once built, the IDE bits are placed in the ./nbbuild/netbeans directory. You can run the IDE from within the incubator-netbeans directory by typing ./nbbuild/netbeans/bin/netbeans or use ant tryme to run the Apache NetBeans IDE.










              • Installing from Binaries:




                • For NetBeans 9.0: Download the binary zip for NetBeans 9.0 from the direct download link.



                • For NetBeans 10.0: Download the binary zip for NetBeans 10.0 from Apache Download Mirrors



                  Unpack the zip and run netbeans in bin folder using ./netbeans. I'll suggest to make a desktop entry a.k.a. menu shortcut. For details about it read How can I create launchers on my desktop? - Ask Ubuntu.










              share|improve this answer




























                11












                11








                11







                Note: According to Apache NetBeans' release notes (which can be found on Releases / Apache NetBeans under corresponding release) NetBeans 9.0 is compatible with JDK 8, 9 and 10 while NetBeans 10.0 is compatible with JDK 8, 9, 10 and 11. Building NetBeans with an incompatible JDK might cause build errors. Moreover JDK 9 and 10 were non-LTS version of Java which seems to be obsolete as of now and are no longer available in Ubuntu's official repository. The installation process of both is described below.





                • Building from Source:





                  1. Download the source zip for:




                    • NetBeans 9.0 from the direct download link


                    • NetBeans 10.0 from Apache Download Mirrors





                  2. Install either Oracle JDK or OpenJDK.





                    • For Oracle JDK8: Download JDK8 from here and run these commands:



                      sudo su
                      mkdir /opt/jdk
                      tar -zxf jdk-8u181-linux-x64.tar.gz -C /opt/jdk
                      update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_181/bin/java 100
                      update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_181/bin/java 100



                    • For OpenJDK8, run



                      sudo apt install openjdk-8-jdk
                      sudo apt install openjdk-8-jre



                    • For OpenJDK11, run



                      sudo apt install openjdk-11-jdk
                      sudo apt install openjdk-11-jre





                  3. Install Apache ANT: For installing Apache Ant, run



                    sudo apt install ant


                  4. Once you’re all set just extract the downloaded source, enter the incubator-netbeans directory and type ant to build the Apache NetBeans IDE.


                  5. Once built, the IDE bits are placed in the ./nbbuild/netbeans directory. You can run the IDE from within the incubator-netbeans directory by typing ./nbbuild/netbeans/bin/netbeans or use ant tryme to run the Apache NetBeans IDE.










                • Installing from Binaries:




                  • For NetBeans 9.0: Download the binary zip for NetBeans 9.0 from the direct download link.



                  • For NetBeans 10.0: Download the binary zip for NetBeans 10.0 from Apache Download Mirrors



                    Unpack the zip and run netbeans in bin folder using ./netbeans. I'll suggest to make a desktop entry a.k.a. menu shortcut. For details about it read How can I create launchers on my desktop? - Ask Ubuntu.










                share|improve this answer















                Note: According to Apache NetBeans' release notes (which can be found on Releases / Apache NetBeans under corresponding release) NetBeans 9.0 is compatible with JDK 8, 9 and 10 while NetBeans 10.0 is compatible with JDK 8, 9, 10 and 11. Building NetBeans with an incompatible JDK might cause build errors. Moreover JDK 9 and 10 were non-LTS version of Java which seems to be obsolete as of now and are no longer available in Ubuntu's official repository. The installation process of both is described below.





                • Building from Source:





                  1. Download the source zip for:




                    • NetBeans 9.0 from the direct download link


                    • NetBeans 10.0 from Apache Download Mirrors





                  2. Install either Oracle JDK or OpenJDK.





                    • For Oracle JDK8: Download JDK8 from here and run these commands:



                      sudo su
                      mkdir /opt/jdk
                      tar -zxf jdk-8u181-linux-x64.tar.gz -C /opt/jdk
                      update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_181/bin/java 100
                      update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_181/bin/java 100



                    • For OpenJDK8, run



                      sudo apt install openjdk-8-jdk
                      sudo apt install openjdk-8-jre



                    • For OpenJDK11, run



                      sudo apt install openjdk-11-jdk
                      sudo apt install openjdk-11-jre





                  3. Install Apache ANT: For installing Apache Ant, run



                    sudo apt install ant


                  4. Once you’re all set just extract the downloaded source, enter the incubator-netbeans directory and type ant to build the Apache NetBeans IDE.


                  5. Once built, the IDE bits are placed in the ./nbbuild/netbeans directory. You can run the IDE from within the incubator-netbeans directory by typing ./nbbuild/netbeans/bin/netbeans or use ant tryme to run the Apache NetBeans IDE.










                • Installing from Binaries:




                  • For NetBeans 9.0: Download the binary zip for NetBeans 9.0 from the direct download link.



                  • For NetBeans 10.0: Download the binary zip for NetBeans 10.0 from Apache Download Mirrors



                    Unpack the zip and run netbeans in bin folder using ./netbeans. I'll suggest to make a desktop entry a.k.a. menu shortcut. For details about it read How can I create launchers on my desktop? - Ask Ubuntu.











                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Dec 29 '18 at 19:05

























                answered Sep 18 '18 at 19:11









                KulfyKulfy

                4,50151542




                4,50151542

























                    1














                    Apache NetBeans (incubating) can be installed from Ubuntu Software Center directly. The last version is 10.0 and updated at 01.22.2019 .






                    share|improve this answer
























                    • Ah! I see. +1 for the info, That's a snap package. Well this may install netbeans 10.0 but still I don't prefer Snaps because of its cons listed here

                      – Kulfy
                      Jan 25 at 16:45
















                    1














                    Apache NetBeans (incubating) can be installed from Ubuntu Software Center directly. The last version is 10.0 and updated at 01.22.2019 .






                    share|improve this answer
























                    • Ah! I see. +1 for the info, That's a snap package. Well this may install netbeans 10.0 but still I don't prefer Snaps because of its cons listed here

                      – Kulfy
                      Jan 25 at 16:45














                    1












                    1








                    1







                    Apache NetBeans (incubating) can be installed from Ubuntu Software Center directly. The last version is 10.0 and updated at 01.22.2019 .






                    share|improve this answer













                    Apache NetBeans (incubating) can be installed from Ubuntu Software Center directly. The last version is 10.0 and updated at 01.22.2019 .







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Jan 22 at 12:51









                    HuseyinHuseyin

                    4001825




                    4001825













                    • Ah! I see. +1 for the info, That's a snap package. Well this may install netbeans 10.0 but still I don't prefer Snaps because of its cons listed here

                      – Kulfy
                      Jan 25 at 16:45



















                    • Ah! I see. +1 for the info, That's a snap package. Well this may install netbeans 10.0 but still I don't prefer Snaps because of its cons listed here

                      – Kulfy
                      Jan 25 at 16:45

















                    Ah! I see. +1 for the info, That's a snap package. Well this may install netbeans 10.0 but still I don't prefer Snaps because of its cons listed here

                    – Kulfy
                    Jan 25 at 16:45





                    Ah! I see. +1 for the info, That's a snap package. Well this may install netbeans 10.0 but still I don't prefer Snaps because of its cons listed here

                    – Kulfy
                    Jan 25 at 16:45


















                    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%2f1076408%2fhow-do-i-install-netbeans-9-0-10-0%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

                    How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

                    is 'sed' thread safe

                    How to make a Squid Proxy server?