After installation, Netbeans 10.0 won't run from Ubuntu 18.04 desktop Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)16.04 IntelliJ IDEA Desktop Entry not workingHow to fix NetBeans 8.2 in Ubuntu 18.04?Glassfish warning when i try to open an existing Java ProjectWhere is the java library class files located in file systemNetbeans 7.0.1 installed but won't runcan't run netbeans as a normal user!Why Ubuntu is slow after downloading netbeansUbuntu 18.04 netbeans doesnt startUninstalling Netbeans 8.2 in Ubuntu 18.04Netbeans 8.2 throws 'Unexpected exception' after launching on Ubuntu 18.04NetBeans isn't opening on Ubuntu 18.04Problem with wikit, a command line tool to search wikipedia on linux

ArcGIS Pro Python arcpy.CreatePersonalGDB_management

Using audio cues to encourage good posture

How does the math work when buying airline miles?

What is a fractional matching?

How to compare two different files line by line in unix?

Why do we bend a book to keep it straight?

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

Maximum summed subsequences with non-adjacent items

Crossing US/Canada Border for less than 24 hours

What is the topology associated with the algebras for the ultrafilter monad?

Morning, Afternoon, Night Kanji

Is a ledger board required if the side of my house is wood?

How do I find out the mythology and history of my Fortress?

Do any jurisdictions seriously consider reclassifying social media websites as publishers?

What is this clumpy 20-30cm high yellow-flowered plant?

Trademark violation for app?

How to write the following sign?

Effects on objects due to a brief relocation of massive amounts of mass

How to react to hostile behavior from a senior developer?

Time to Settle Down!

How much damage would a cupful of neutron star matter do to the Earth?

How do living politicians protect their readily obtainable signatures from misuse?

What is the appropriate index architecture when forced to implement IsDeleted (soft deletes)?

How could we fake a moon landing now?



After installation, Netbeans 10.0 won't run from Ubuntu 18.04 desktop



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)16.04 IntelliJ IDEA Desktop Entry not workingHow to fix NetBeans 8.2 in Ubuntu 18.04?Glassfish warning when i try to open an existing Java ProjectWhere is the java library class files located in file systemNetbeans 7.0.1 installed but won't runcan't run netbeans as a normal user!Why Ubuntu is slow after downloading netbeansUbuntu 18.04 netbeans doesnt startUninstalling Netbeans 8.2 in Ubuntu 18.04Netbeans 8.2 throws 'Unexpected exception' after launching on Ubuntu 18.04NetBeans isn't opening on Ubuntu 18.04Problem with wikit, a command line tool to search wikipedia on linux



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








2















I have Netbeans 10.0 installed on Ubuntu 18.04 in the /opt/netbeans directory.



Netbeans 10.0 was installed just by extracting from zip file incubating-netbeans-10.0-bin.zip downloaded using the command:



sudo wget http://mirrors.wuchna.com/apachemirror/incubator/netbeans/incubating-netbeans/incubating-10.0/incubating-netbeans-10.0-bin.zip


After extraction you will find netbeans folder under /opt directory. Issue the following extract command:



sudo unzip ~/Downloads/incubating-netbeans-10.0-bin.zip -d /opt/


After Netbeans extracted into /opt/netbeans directory, a shortcut file netbeans.desktop was created, edited and then installed at /usr/share/applications/ directory by the following command:



sudo desktop-file-install netbeans.desktop


The contents of netbeans.desktop is:



Contents of netbeans.desktop



The installed Java version on the desktop is JDK11



Java HOME



I have put Netbeans binary on PATH by running export PATH=$PATH:/opt/netbeans/bin using ~/.bashrc script file



Netbeans PATH




  1. When I click on the Netbeans icon on my desktop, there is just a flicker and the IDE never appeared and nothing happened



    Netbeans Icon




  2. Nevertheless, when I run netbeans in a terminal, I get the following output



    Netbeans Running



    WARNING: An illegal reflective access operation has occurred
    WARNING: Illegal reflective access by org.netbeans.swing.plaf.gtk.ThemeValue (jar:file:/opt/netbeans/platform/modules/org-netbeans-swing-plaf.jar!/) to method javax.swing.plaf.synth.SynthStyle.getColorForState(javax.swing.plaf.synth.SynthContext,javax.swing.plaf.synth.ColorType)
    WARNING: Please consider reporting this to the maintainers of org.netbeans.swing.plaf.gtk.ThemeValue
    WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
    WARNING: All illegal access operations will be denied in a future release


Can somebody be kind enough to throw some light on this issue?
Thanks in advance.










share|improve this question






























    2















    I have Netbeans 10.0 installed on Ubuntu 18.04 in the /opt/netbeans directory.



    Netbeans 10.0 was installed just by extracting from zip file incubating-netbeans-10.0-bin.zip downloaded using the command:



    sudo wget http://mirrors.wuchna.com/apachemirror/incubator/netbeans/incubating-netbeans/incubating-10.0/incubating-netbeans-10.0-bin.zip


    After extraction you will find netbeans folder under /opt directory. Issue the following extract command:



    sudo unzip ~/Downloads/incubating-netbeans-10.0-bin.zip -d /opt/


    After Netbeans extracted into /opt/netbeans directory, a shortcut file netbeans.desktop was created, edited and then installed at /usr/share/applications/ directory by the following command:



    sudo desktop-file-install netbeans.desktop


    The contents of netbeans.desktop is:



    Contents of netbeans.desktop



    The installed Java version on the desktop is JDK11



    Java HOME



    I have put Netbeans binary on PATH by running export PATH=$PATH:/opt/netbeans/bin using ~/.bashrc script file



    Netbeans PATH




    1. When I click on the Netbeans icon on my desktop, there is just a flicker and the IDE never appeared and nothing happened



      Netbeans Icon




    2. Nevertheless, when I run netbeans in a terminal, I get the following output



      Netbeans Running



      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access by org.netbeans.swing.plaf.gtk.ThemeValue (jar:file:/opt/netbeans/platform/modules/org-netbeans-swing-plaf.jar!/) to method javax.swing.plaf.synth.SynthStyle.getColorForState(javax.swing.plaf.synth.SynthContext,javax.swing.plaf.synth.ColorType)
      WARNING: Please consider reporting this to the maintainers of org.netbeans.swing.plaf.gtk.ThemeValue
      WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
      WARNING: All illegal access operations will be denied in a future release


    Can somebody be kind enough to throw some light on this issue?
    Thanks in advance.










    share|improve this question


























      2












      2








      2








      I have Netbeans 10.0 installed on Ubuntu 18.04 in the /opt/netbeans directory.



      Netbeans 10.0 was installed just by extracting from zip file incubating-netbeans-10.0-bin.zip downloaded using the command:



      sudo wget http://mirrors.wuchna.com/apachemirror/incubator/netbeans/incubating-netbeans/incubating-10.0/incubating-netbeans-10.0-bin.zip


      After extraction you will find netbeans folder under /opt directory. Issue the following extract command:



      sudo unzip ~/Downloads/incubating-netbeans-10.0-bin.zip -d /opt/


      After Netbeans extracted into /opt/netbeans directory, a shortcut file netbeans.desktop was created, edited and then installed at /usr/share/applications/ directory by the following command:



      sudo desktop-file-install netbeans.desktop


      The contents of netbeans.desktop is:



      Contents of netbeans.desktop



      The installed Java version on the desktop is JDK11



      Java HOME



      I have put Netbeans binary on PATH by running export PATH=$PATH:/opt/netbeans/bin using ~/.bashrc script file



      Netbeans PATH




      1. When I click on the Netbeans icon on my desktop, there is just a flicker and the IDE never appeared and nothing happened



        Netbeans Icon




      2. Nevertheless, when I run netbeans in a terminal, I get the following output



        Netbeans Running



        WARNING: An illegal reflective access operation has occurred
        WARNING: Illegal reflective access by org.netbeans.swing.plaf.gtk.ThemeValue (jar:file:/opt/netbeans/platform/modules/org-netbeans-swing-plaf.jar!/) to method javax.swing.plaf.synth.SynthStyle.getColorForState(javax.swing.plaf.synth.SynthContext,javax.swing.plaf.synth.ColorType)
        WARNING: Please consider reporting this to the maintainers of org.netbeans.swing.plaf.gtk.ThemeValue
        WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
        WARNING: All illegal access operations will be denied in a future release


      Can somebody be kind enough to throw some light on this issue?
      Thanks in advance.










      share|improve this question
















      I have Netbeans 10.0 installed on Ubuntu 18.04 in the /opt/netbeans directory.



      Netbeans 10.0 was installed just by extracting from zip file incubating-netbeans-10.0-bin.zip downloaded using the command:



      sudo wget http://mirrors.wuchna.com/apachemirror/incubator/netbeans/incubating-netbeans/incubating-10.0/incubating-netbeans-10.0-bin.zip


      After extraction you will find netbeans folder under /opt directory. Issue the following extract command:



      sudo unzip ~/Downloads/incubating-netbeans-10.0-bin.zip -d /opt/


      After Netbeans extracted into /opt/netbeans directory, a shortcut file netbeans.desktop was created, edited and then installed at /usr/share/applications/ directory by the following command:



      sudo desktop-file-install netbeans.desktop


      The contents of netbeans.desktop is:



      Contents of netbeans.desktop



      The installed Java version on the desktop is JDK11



      Java HOME



      I have put Netbeans binary on PATH by running export PATH=$PATH:/opt/netbeans/bin using ~/.bashrc script file



      Netbeans PATH




      1. When I click on the Netbeans icon on my desktop, there is just a flicker and the IDE never appeared and nothing happened



        Netbeans Icon




      2. Nevertheless, when I run netbeans in a terminal, I get the following output



        Netbeans Running



        WARNING: An illegal reflective access operation has occurred
        WARNING: Illegal reflective access by org.netbeans.swing.plaf.gtk.ThemeValue (jar:file:/opt/netbeans/platform/modules/org-netbeans-swing-plaf.jar!/) to method javax.swing.plaf.synth.SynthStyle.getColorForState(javax.swing.plaf.synth.SynthContext,javax.swing.plaf.synth.ColorType)
        WARNING: Please consider reporting this to the maintainers of org.netbeans.swing.plaf.gtk.ThemeValue
        WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
        WARNING: All illegal access operations will be denied in a future release


      Can somebody be kind enough to throw some light on this issue?
      Thanks in advance.







      18.04 jdk netbeans






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 6 at 16:05









      Zanna

      51.4k13141243




      51.4k13141243










      asked Jan 6 at 7:31









      MarmayogiMarmayogi

      86247




      86247




















          2 Answers
          2






          active

          oldest

          votes


















          2














          It seems that the value of Exec in the desktop entry a.k.a. the "shortcut" contains an error. According to Desktop Entry Specification:




          The Exec key must contain a command line. A command line consists of an executable program optionally followed by one or more arguments. The executable program can either be specified with its full path or with the name of the executable only. If no full path is provided the executable is looked up in the $PATH environment variable used by the desktop environment. The name or path of the executable program may not contain the equal sign ("=").




          Also, UBUNTU_MENUPROXY looks like a user-defined variable which doesn't work in Desktop Entries. So, better remove that and provide the absolute path of NetBeans, i.e.,



          Exec=env /opt/netbeans/bin/netbeans #You can also omit "env"





          share|improve this answer
































            0














            NetBeans has been recently updated to version 10.0 in the default Ubuntu 18.04 repositories. This version is compatible with openjdk-11-jdk out of the box. To install both packages in Ubuntu 18.04-19.04 open the terminal and type:



            sudo apt install netbeans openjdk-11-jdk


            This is the most convenient way to install NetBeans because there are also several NetBeans support libraries in the default Ubuntu repositories. You can list these packages with the following command:



            apt search netbeans




            share























              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%2f1107364%2fafter-installation-netbeans-10-0-wont-run-from-ubuntu-18-04-desktop%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









              2














              It seems that the value of Exec in the desktop entry a.k.a. the "shortcut" contains an error. According to Desktop Entry Specification:




              The Exec key must contain a command line. A command line consists of an executable program optionally followed by one or more arguments. The executable program can either be specified with its full path or with the name of the executable only. If no full path is provided the executable is looked up in the $PATH environment variable used by the desktop environment. The name or path of the executable program may not contain the equal sign ("=").




              Also, UBUNTU_MENUPROXY looks like a user-defined variable which doesn't work in Desktop Entries. So, better remove that and provide the absolute path of NetBeans, i.e.,



              Exec=env /opt/netbeans/bin/netbeans #You can also omit "env"





              share|improve this answer





























                2














                It seems that the value of Exec in the desktop entry a.k.a. the "shortcut" contains an error. According to Desktop Entry Specification:




                The Exec key must contain a command line. A command line consists of an executable program optionally followed by one or more arguments. The executable program can either be specified with its full path or with the name of the executable only. If no full path is provided the executable is looked up in the $PATH environment variable used by the desktop environment. The name or path of the executable program may not contain the equal sign ("=").




                Also, UBUNTU_MENUPROXY looks like a user-defined variable which doesn't work in Desktop Entries. So, better remove that and provide the absolute path of NetBeans, i.e.,



                Exec=env /opt/netbeans/bin/netbeans #You can also omit "env"





                share|improve this answer



























                  2












                  2








                  2







                  It seems that the value of Exec in the desktop entry a.k.a. the "shortcut" contains an error. According to Desktop Entry Specification:




                  The Exec key must contain a command line. A command line consists of an executable program optionally followed by one or more arguments. The executable program can either be specified with its full path or with the name of the executable only. If no full path is provided the executable is looked up in the $PATH environment variable used by the desktop environment. The name or path of the executable program may not contain the equal sign ("=").




                  Also, UBUNTU_MENUPROXY looks like a user-defined variable which doesn't work in Desktop Entries. So, better remove that and provide the absolute path of NetBeans, i.e.,



                  Exec=env /opt/netbeans/bin/netbeans #You can also omit "env"





                  share|improve this answer















                  It seems that the value of Exec in the desktop entry a.k.a. the "shortcut" contains an error. According to Desktop Entry Specification:




                  The Exec key must contain a command line. A command line consists of an executable program optionally followed by one or more arguments. The executable program can either be specified with its full path or with the name of the executable only. If no full path is provided the executable is looked up in the $PATH environment variable used by the desktop environment. The name or path of the executable program may not contain the equal sign ("=").




                  Also, UBUNTU_MENUPROXY looks like a user-defined variable which doesn't work in Desktop Entries. So, better remove that and provide the absolute path of NetBeans, i.e.,



                  Exec=env /opt/netbeans/bin/netbeans #You can also omit "env"






                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Feb 28 at 19:13









                  Fabby

                  27.1k1360161




                  27.1k1360161










                  answered Feb 28 at 18:59









                  KulfyKulfy

                  5,29061945




                  5,29061945























                      0














                      NetBeans has been recently updated to version 10.0 in the default Ubuntu 18.04 repositories. This version is compatible with openjdk-11-jdk out of the box. To install both packages in Ubuntu 18.04-19.04 open the terminal and type:



                      sudo apt install netbeans openjdk-11-jdk


                      This is the most convenient way to install NetBeans because there are also several NetBeans support libraries in the default Ubuntu repositories. You can list these packages with the following command:



                      apt search netbeans




                      share



























                        0














                        NetBeans has been recently updated to version 10.0 in the default Ubuntu 18.04 repositories. This version is compatible with openjdk-11-jdk out of the box. To install both packages in Ubuntu 18.04-19.04 open the terminal and type:



                        sudo apt install netbeans openjdk-11-jdk


                        This is the most convenient way to install NetBeans because there are also several NetBeans support libraries in the default Ubuntu repositories. You can list these packages with the following command:



                        apt search netbeans




                        share

























                          0












                          0








                          0







                          NetBeans has been recently updated to version 10.0 in the default Ubuntu 18.04 repositories. This version is compatible with openjdk-11-jdk out of the box. To install both packages in Ubuntu 18.04-19.04 open the terminal and type:



                          sudo apt install netbeans openjdk-11-jdk


                          This is the most convenient way to install NetBeans because there are also several NetBeans support libraries in the default Ubuntu repositories. You can list these packages with the following command:



                          apt search netbeans




                          share













                          NetBeans has been recently updated to version 10.0 in the default Ubuntu 18.04 repositories. This version is compatible with openjdk-11-jdk out of the box. To install both packages in Ubuntu 18.04-19.04 open the terminal and type:



                          sudo apt install netbeans openjdk-11-jdk


                          This is the most convenient way to install NetBeans because there are also several NetBeans support libraries in the default Ubuntu repositories. You can list these packages with the following command:



                          apt search netbeans





                          share











                          share


                          share










                          answered 1 min ago









                          karelkarel

                          61.1k13132155




                          61.1k13132155



























                              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%2f1107364%2fafter-installation-netbeans-10-0-wont-run-from-ubuntu-18-04-desktop%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

                              Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

                              Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

                              Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»