Netbeans does not start on fresh Ubuntu 18.04 installation

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
10
down vote

favorite
1












After fresh Ubuntu 18.04 installation and afterwards a netbeans installation, netbeans does not start. netbeans was installed with



sudo apt install netbeans


some other java programms (at least Eclipse) do not start too.



when starting netbeans from commandline the JVM prints folowing WARNINGS:



➜ ~ netbeans
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory (file:/usr/share/netbeans/platform18/lib/boot.jar) to field java.net.URL.handler
WARNING: Please consider reporting this to the maintainers of org.netbeans.ProxyURLStreamHandlerFactory
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
➜ ~






share|improve this question
























    up vote
    10
    down vote

    favorite
    1












    After fresh Ubuntu 18.04 installation and afterwards a netbeans installation, netbeans does not start. netbeans was installed with



    sudo apt install netbeans


    some other java programms (at least Eclipse) do not start too.



    when starting netbeans from commandline the JVM prints folowing WARNINGS:



    ➜ ~ netbeans
    WARNING: An illegal reflective access operation has occurred
    WARNING: Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory (file:/usr/share/netbeans/platform18/lib/boot.jar) to field java.net.URL.handler
    WARNING: Please consider reporting this to the maintainers of org.netbeans.ProxyURLStreamHandlerFactory
    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
    ➜ ~






    share|improve this question






















      up vote
      10
      down vote

      favorite
      1









      up vote
      10
      down vote

      favorite
      1






      1





      After fresh Ubuntu 18.04 installation and afterwards a netbeans installation, netbeans does not start. netbeans was installed with



      sudo apt install netbeans


      some other java programms (at least Eclipse) do not start too.



      when starting netbeans from commandline the JVM prints folowing WARNINGS:



      ➜ ~ netbeans
      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory (file:/usr/share/netbeans/platform18/lib/boot.jar) to field java.net.URL.handler
      WARNING: Please consider reporting this to the maintainers of org.netbeans.ProxyURLStreamHandlerFactory
      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
      ➜ ~






      share|improve this question












      After fresh Ubuntu 18.04 installation and afterwards a netbeans installation, netbeans does not start. netbeans was installed with



      sudo apt install netbeans


      some other java programms (at least Eclipse) do not start too.



      when starting netbeans from commandline the JVM prints folowing WARNINGS:



      ➜ ~ netbeans
      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory (file:/usr/share/netbeans/platform18/lib/boot.jar) to field java.net.URL.handler
      WARNING: Please consider reporting this to the maintainers of org.netbeans.ProxyURLStreamHandlerFactory
      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
      ➜ ~








      share|improve this question











      share|improve this question




      share|improve this question










      asked May 4 at 15:00









      neoexpert

      5114




      5114




















          3 Answers
          3






          active

          oldest

          votes

















          up vote
          7
          down vote













          Your question made me recheck my Netbeans and I found the same issue but I somehow resolved it.



          Ubuntu's repository still has Netbeans 8.1 but JDK 11. So I've downloaded Netbeans 8.2 from Netbeans Website



          After downloading Netbeans 8.2, follow these steps:



          sudo apt autoremove netbeans
          cd Downloads
          sudo chmod +x netbeans-8.2-linux.sh
          ./netbeans-8.2-linux.sh



          and follow on screen instructions. Import settings and launch the netbeans from app drawer.



          Also if you have any package with name as JDK 8, just remove it. You can find the packages installed by using



          sudo apt list --installed



          and remove all packages with name as openjdk-8- by using,



          sudo apt autoremove <package_name>



          Let me know if this helps. :)






          share|improve this answer


















          • 2




            Thank you for your reply. Netbeans 8.2 does start, but I have other issues with it: it does not open a maven project properly. The Navigator-View says "no views avaliable".
            – neoexpert
            May 4 at 18:07






          • 1




            So I think the current version of java on 18.04 should not be marked as "stable". Eclipse does not work too.
            – neoexpert
            May 4 at 18:18







          • 4




            Netbeans seems to be quite broken currently under 18.04. I have tried several jdk versions(open and oracle) as well as the default package and the netbeans installer. The Windows or Mac comment is not pertinent as this issue is related to the state of 18.04. Everything works fine on previous releases.
            – Captain Giraffe
            May 7 at 12:12

















          up vote
          0
          down vote













          I was able to solve this by running sudo update-alternatives --config java and then selecting the java-8 option rather than the default java-11. You will need to have the java-8 openjdk package still installed for this to work though.






          share|improve this answer



























            up vote
            0
            down vote













            I am having the same issue running on 18.04.1 mate. netbeans installed from apt.



            > mulawa@mike-VirtualBox:~$ netbeans --help Usage:
            > /usr/share/netbeans/8.1/platform/lib/nbexec options arguments
            >
            > General options: --help show this help --jdkhome
            > <path> path to Java(TM) 2 SDK, Standard Edition -J<jvm_option>
            > pass <jvm_option> to JVM
            >
            > --cp:p <classpath> prepend <classpath> to classpath --cp:a
            > <classpath> append <classpath> to classpath WARNING: An illegal
            > reflective access operation has occurred WARNING: Illegal reflective
            > access by org.netbeans.ProxyURLStreamHandlerFactory
            > (file:/usr/share/netbeans/platform18/lib/boot.jar) to field
            > java.net.URL.handler WARNING: Please consider reporting this to the
            > maintainers of org.netbeans.ProxyURLStreamHandlerFactory 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 Exception in thread "main"
            > java.awt.AWTError: Assistive Technology not found:
            > org.GNOME.Accessibility.AtkWrapper at
            > java.desktop/java.awt.Toolkit.newAWTError(Toolkit.java:472) at
            > java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:488)
            > at
            > java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
            > at
            > java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
            > at
            > java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1608)
            > at
            > java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
            > at
            > java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
            > at
            > java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
            > at
            > java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
            > at
            > java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
            > at
            > java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
            > at
            > java.desktop/java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:532)
            > at java.desktop/java.awt.Toolkit.getDefaultToolkit(Toolkit.java:613)
            > at java.desktop/java.awt.Toolkit.getEventQueue(Toolkit.java:1494) at
            > java.desktop/java.awt.EventQueue.invokeLater(EventQueue.java:1312) at
            > java.desktop/javax.swing.SwingUtilities.invokeLater(SwingUtilities.java:1421)
            > at org.netbeans.core.startup.Splash$SplashPainter.setText(Unknown
            > Source) at org.netbeans.core.startup.Splash.print(Unknown Source) at
            > org.netbeans.core.startup.Main.setStatusText(Unknown Source) at
            > org.netbeans.core.startup.layers.LayerCacheManager.loadCache(Unknown
            > Source) at
            > org.netbeans.core.startup.layers.ModuleLayeredFileSystem.<init>(Unknown
            > Source) at
            > org.netbeans.core.startup.layers.SystemFileSystem.createInstallHomeSystem(Unknown
            > Source) at
            > org.netbeans.core.startup.layers.SystemFileSystem.create(Unknown
            > Source) at
            > org.netbeans.core.startup.layers.SessionManager.create(Unknown Source)
            > at
            > org.netbeans.core.startup.NbRepository.createDefaultFileSystem(Unknown
            > Source) at org.netbeans.core.startup.NbRepository.<init>(Unknown
            > Source) at
            > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
            > Method) at
            > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
            > at
            > java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            > at
            > java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
            > at java.base/java.lang.Class.newInstance(Class.java:560) at
            > org.openide.util.lookup.implspi.SharedClassObjectBridge.newInstance(Unknown
            > Source) at
            > org.openide.util.lookup.MetaInfServicesLookup$Item.getInstance(Unknown
            > Source) at org.openide.util.lookup.AbstractLookup.lookup(Unknown
            > Source) at org.openide.util.lookup.ProxyLookup.lookup(Unknown Source)
            > at org.openide.filesystems.Repository$3.call(Unknown Source) at
            > org.openide.filesystems.Repository$3.call(Unknown Source) at
            > org.openide.filesystems.Repository.delayFileSystemAttachImpl(Unknown
            > Source) at org.openide.filesystems.Repository.getDefault(Unknown
            > Source) at org.openide.filesystems.Repository$4.getRepository(Unknown
            > Source) at
            > org.openide.filesystems.Repository.getLocalRepository(Unknown Source)
            > at org.openide.filesystems.FileUtil.getConfigFile(Unknown Source) at
            > org.openide.filesystems.FileUtil.getConfigRoot(Unknown Source) at
            > org.netbeans.core.startup.CLICoreBridge.usage(Unknown Source) at
            > org.netbeans.CLIHandler.showHelp(Unknown Source) at
            > org.netbeans.CLIHandler.checkHelp(Unknown Source) at
            > org.netbeans.CLIHandler.initialize(Unknown Source) at
            > org.netbeans.CLIHandler.initialize(Unknown Source) at
            > org.netbeans.MainImpl.execute(Unknown Source) at
            > org.netbeans.MainImpl.main(Unknown Source) at
            > org.netbeans.Main.main(Unknown Source) Caused by:
            > java.lang.ClassNotFoundException: org.GNOME.Accessibility.AtkWrapper
            > at
            > java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
            > at
            > java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
            > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
            > at java.base/java.lang.Class.forName0(Native Method) at
            > java.base/java.lang.Class.forName(Class.java:374) at
            > java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:485)
            > ... 49 more


            and simillar error entry in log when installing from downloaded .sh file:



            > java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper
            > (...)
            > Caused by: java.lang.ClassNotFoundException: org.GNOME.Accessibility.AtkWrapper


            so if i read correctly, netbeans requires gnome even on different display manager?



            EDIT:
            this helped a little: https://askubuntu.com/a/723503/603947






            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',
              convertImagesToLinks: true,
              noModals: false,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              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%2f1032030%2fnetbeans-does-not-start-on-fresh-ubuntu-18-04-installation%23new-answer', 'question_page');

              );

              Post as a guest






























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              7
              down vote













              Your question made me recheck my Netbeans and I found the same issue but I somehow resolved it.



              Ubuntu's repository still has Netbeans 8.1 but JDK 11. So I've downloaded Netbeans 8.2 from Netbeans Website



              After downloading Netbeans 8.2, follow these steps:



              sudo apt autoremove netbeans
              cd Downloads
              sudo chmod +x netbeans-8.2-linux.sh
              ./netbeans-8.2-linux.sh



              and follow on screen instructions. Import settings and launch the netbeans from app drawer.



              Also if you have any package with name as JDK 8, just remove it. You can find the packages installed by using



              sudo apt list --installed



              and remove all packages with name as openjdk-8- by using,



              sudo apt autoremove <package_name>



              Let me know if this helps. :)






              share|improve this answer


















              • 2




                Thank you for your reply. Netbeans 8.2 does start, but I have other issues with it: it does not open a maven project properly. The Navigator-View says "no views avaliable".
                – neoexpert
                May 4 at 18:07






              • 1




                So I think the current version of java on 18.04 should not be marked as "stable". Eclipse does not work too.
                – neoexpert
                May 4 at 18:18







              • 4




                Netbeans seems to be quite broken currently under 18.04. I have tried several jdk versions(open and oracle) as well as the default package and the netbeans installer. The Windows or Mac comment is not pertinent as this issue is related to the state of 18.04. Everything works fine on previous releases.
                – Captain Giraffe
                May 7 at 12:12














              up vote
              7
              down vote













              Your question made me recheck my Netbeans and I found the same issue but I somehow resolved it.



              Ubuntu's repository still has Netbeans 8.1 but JDK 11. So I've downloaded Netbeans 8.2 from Netbeans Website



              After downloading Netbeans 8.2, follow these steps:



              sudo apt autoremove netbeans
              cd Downloads
              sudo chmod +x netbeans-8.2-linux.sh
              ./netbeans-8.2-linux.sh



              and follow on screen instructions. Import settings and launch the netbeans from app drawer.



              Also if you have any package with name as JDK 8, just remove it. You can find the packages installed by using



              sudo apt list --installed



              and remove all packages with name as openjdk-8- by using,



              sudo apt autoremove <package_name>



              Let me know if this helps. :)






              share|improve this answer


















              • 2




                Thank you for your reply. Netbeans 8.2 does start, but I have other issues with it: it does not open a maven project properly. The Navigator-View says "no views avaliable".
                – neoexpert
                May 4 at 18:07






              • 1




                So I think the current version of java on 18.04 should not be marked as "stable". Eclipse does not work too.
                – neoexpert
                May 4 at 18:18







              • 4




                Netbeans seems to be quite broken currently under 18.04. I have tried several jdk versions(open and oracle) as well as the default package and the netbeans installer. The Windows or Mac comment is not pertinent as this issue is related to the state of 18.04. Everything works fine on previous releases.
                – Captain Giraffe
                May 7 at 12:12












              up vote
              7
              down vote










              up vote
              7
              down vote









              Your question made me recheck my Netbeans and I found the same issue but I somehow resolved it.



              Ubuntu's repository still has Netbeans 8.1 but JDK 11. So I've downloaded Netbeans 8.2 from Netbeans Website



              After downloading Netbeans 8.2, follow these steps:



              sudo apt autoremove netbeans
              cd Downloads
              sudo chmod +x netbeans-8.2-linux.sh
              ./netbeans-8.2-linux.sh



              and follow on screen instructions. Import settings and launch the netbeans from app drawer.



              Also if you have any package with name as JDK 8, just remove it. You can find the packages installed by using



              sudo apt list --installed



              and remove all packages with name as openjdk-8- by using,



              sudo apt autoremove <package_name>



              Let me know if this helps. :)






              share|improve this answer














              Your question made me recheck my Netbeans and I found the same issue but I somehow resolved it.



              Ubuntu's repository still has Netbeans 8.1 but JDK 11. So I've downloaded Netbeans 8.2 from Netbeans Website



              After downloading Netbeans 8.2, follow these steps:



              sudo apt autoremove netbeans
              cd Downloads
              sudo chmod +x netbeans-8.2-linux.sh
              ./netbeans-8.2-linux.sh



              and follow on screen instructions. Import settings and launch the netbeans from app drawer.



              Also if you have any package with name as JDK 8, just remove it. You can find the packages installed by using



              sudo apt list --installed



              and remove all packages with name as openjdk-8- by using,



              sudo apt autoremove <package_name>



              Let me know if this helps. :)







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited May 4 at 18:05

























              answered May 4 at 18:00









              Kulfy

              1,046424




              1,046424







              • 2




                Thank you for your reply. Netbeans 8.2 does start, but I have other issues with it: it does not open a maven project properly. The Navigator-View says "no views avaliable".
                – neoexpert
                May 4 at 18:07






              • 1




                So I think the current version of java on 18.04 should not be marked as "stable". Eclipse does not work too.
                – neoexpert
                May 4 at 18:18







              • 4




                Netbeans seems to be quite broken currently under 18.04. I have tried several jdk versions(open and oracle) as well as the default package and the netbeans installer. The Windows or Mac comment is not pertinent as this issue is related to the state of 18.04. Everything works fine on previous releases.
                – Captain Giraffe
                May 7 at 12:12












              • 2




                Thank you for your reply. Netbeans 8.2 does start, but I have other issues with it: it does not open a maven project properly. The Navigator-View says "no views avaliable".
                – neoexpert
                May 4 at 18:07






              • 1




                So I think the current version of java on 18.04 should not be marked as "stable". Eclipse does not work too.
                – neoexpert
                May 4 at 18:18







              • 4




                Netbeans seems to be quite broken currently under 18.04. I have tried several jdk versions(open and oracle) as well as the default package and the netbeans installer. The Windows or Mac comment is not pertinent as this issue is related to the state of 18.04. Everything works fine on previous releases.
                – Captain Giraffe
                May 7 at 12:12







              2




              2




              Thank you for your reply. Netbeans 8.2 does start, but I have other issues with it: it does not open a maven project properly. The Navigator-View says "no views avaliable".
              – neoexpert
              May 4 at 18:07




              Thank you for your reply. Netbeans 8.2 does start, but I have other issues with it: it does not open a maven project properly. The Navigator-View says "no views avaliable".
              – neoexpert
              May 4 at 18:07




              1




              1




              So I think the current version of java on 18.04 should not be marked as "stable". Eclipse does not work too.
              – neoexpert
              May 4 at 18:18





              So I think the current version of java on 18.04 should not be marked as "stable". Eclipse does not work too.
              – neoexpert
              May 4 at 18:18





              4




              4




              Netbeans seems to be quite broken currently under 18.04. I have tried several jdk versions(open and oracle) as well as the default package and the netbeans installer. The Windows or Mac comment is not pertinent as this issue is related to the state of 18.04. Everything works fine on previous releases.
              – Captain Giraffe
              May 7 at 12:12




              Netbeans seems to be quite broken currently under 18.04. I have tried several jdk versions(open and oracle) as well as the default package and the netbeans installer. The Windows or Mac comment is not pertinent as this issue is related to the state of 18.04. Everything works fine on previous releases.
              – Captain Giraffe
              May 7 at 12:12












              up vote
              0
              down vote













              I was able to solve this by running sudo update-alternatives --config java and then selecting the java-8 option rather than the default java-11. You will need to have the java-8 openjdk package still installed for this to work though.






              share|improve this answer
























                up vote
                0
                down vote













                I was able to solve this by running sudo update-alternatives --config java and then selecting the java-8 option rather than the default java-11. You will need to have the java-8 openjdk package still installed for this to work though.






                share|improve this answer






















                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  I was able to solve this by running sudo update-alternatives --config java and then selecting the java-8 option rather than the default java-11. You will need to have the java-8 openjdk package still installed for this to work though.






                  share|improve this answer












                  I was able to solve this by running sudo update-alternatives --config java and then selecting the java-8 option rather than the default java-11. You will need to have the java-8 openjdk package still installed for this to work though.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Aug 22 at 22:30









                  Aidan

                  1




                  1




















                      up vote
                      0
                      down vote













                      I am having the same issue running on 18.04.1 mate. netbeans installed from apt.



                      > mulawa@mike-VirtualBox:~$ netbeans --help Usage:
                      > /usr/share/netbeans/8.1/platform/lib/nbexec options arguments
                      >
                      > General options: --help show this help --jdkhome
                      > <path> path to Java(TM) 2 SDK, Standard Edition -J<jvm_option>
                      > pass <jvm_option> to JVM
                      >
                      > --cp:p <classpath> prepend <classpath> to classpath --cp:a
                      > <classpath> append <classpath> to classpath WARNING: An illegal
                      > reflective access operation has occurred WARNING: Illegal reflective
                      > access by org.netbeans.ProxyURLStreamHandlerFactory
                      > (file:/usr/share/netbeans/platform18/lib/boot.jar) to field
                      > java.net.URL.handler WARNING: Please consider reporting this to the
                      > maintainers of org.netbeans.ProxyURLStreamHandlerFactory 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 Exception in thread "main"
                      > java.awt.AWTError: Assistive Technology not found:
                      > org.GNOME.Accessibility.AtkWrapper at
                      > java.desktop/java.awt.Toolkit.newAWTError(Toolkit.java:472) at
                      > java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:488)
                      > at
                      > java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
                      > at
                      > java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
                      > at
                      > java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1608)
                      > at
                      > java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
                      > at
                      > java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
                      > at
                      > java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
                      > at
                      > java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
                      > at
                      > java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
                      > at
                      > java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
                      > at
                      > java.desktop/java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:532)
                      > at java.desktop/java.awt.Toolkit.getDefaultToolkit(Toolkit.java:613)
                      > at java.desktop/java.awt.Toolkit.getEventQueue(Toolkit.java:1494) at
                      > java.desktop/java.awt.EventQueue.invokeLater(EventQueue.java:1312) at
                      > java.desktop/javax.swing.SwingUtilities.invokeLater(SwingUtilities.java:1421)
                      > at org.netbeans.core.startup.Splash$SplashPainter.setText(Unknown
                      > Source) at org.netbeans.core.startup.Splash.print(Unknown Source) at
                      > org.netbeans.core.startup.Main.setStatusText(Unknown Source) at
                      > org.netbeans.core.startup.layers.LayerCacheManager.loadCache(Unknown
                      > Source) at
                      > org.netbeans.core.startup.layers.ModuleLayeredFileSystem.<init>(Unknown
                      > Source) at
                      > org.netbeans.core.startup.layers.SystemFileSystem.createInstallHomeSystem(Unknown
                      > Source) at
                      > org.netbeans.core.startup.layers.SystemFileSystem.create(Unknown
                      > Source) at
                      > org.netbeans.core.startup.layers.SessionManager.create(Unknown Source)
                      > at
                      > org.netbeans.core.startup.NbRepository.createDefaultFileSystem(Unknown
                      > Source) at org.netbeans.core.startup.NbRepository.<init>(Unknown
                      > Source) at
                      > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
                      > Method) at
                      > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
                      > at
                      > java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
                      > at
                      > java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
                      > at java.base/java.lang.Class.newInstance(Class.java:560) at
                      > org.openide.util.lookup.implspi.SharedClassObjectBridge.newInstance(Unknown
                      > Source) at
                      > org.openide.util.lookup.MetaInfServicesLookup$Item.getInstance(Unknown
                      > Source) at org.openide.util.lookup.AbstractLookup.lookup(Unknown
                      > Source) at org.openide.util.lookup.ProxyLookup.lookup(Unknown Source)
                      > at org.openide.filesystems.Repository$3.call(Unknown Source) at
                      > org.openide.filesystems.Repository$3.call(Unknown Source) at
                      > org.openide.filesystems.Repository.delayFileSystemAttachImpl(Unknown
                      > Source) at org.openide.filesystems.Repository.getDefault(Unknown
                      > Source) at org.openide.filesystems.Repository$4.getRepository(Unknown
                      > Source) at
                      > org.openide.filesystems.Repository.getLocalRepository(Unknown Source)
                      > at org.openide.filesystems.FileUtil.getConfigFile(Unknown Source) at
                      > org.openide.filesystems.FileUtil.getConfigRoot(Unknown Source) at
                      > org.netbeans.core.startup.CLICoreBridge.usage(Unknown Source) at
                      > org.netbeans.CLIHandler.showHelp(Unknown Source) at
                      > org.netbeans.CLIHandler.checkHelp(Unknown Source) at
                      > org.netbeans.CLIHandler.initialize(Unknown Source) at
                      > org.netbeans.CLIHandler.initialize(Unknown Source) at
                      > org.netbeans.MainImpl.execute(Unknown Source) at
                      > org.netbeans.MainImpl.main(Unknown Source) at
                      > org.netbeans.Main.main(Unknown Source) Caused by:
                      > java.lang.ClassNotFoundException: org.GNOME.Accessibility.AtkWrapper
                      > at
                      > java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
                      > at
                      > java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
                      > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
                      > at java.base/java.lang.Class.forName0(Native Method) at
                      > java.base/java.lang.Class.forName(Class.java:374) at
                      > java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:485)
                      > ... 49 more


                      and simillar error entry in log when installing from downloaded .sh file:



                      > java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper
                      > (...)
                      > Caused by: java.lang.ClassNotFoundException: org.GNOME.Accessibility.AtkWrapper


                      so if i read correctly, netbeans requires gnome even on different display manager?



                      EDIT:
                      this helped a little: https://askubuntu.com/a/723503/603947






                      share|improve this answer


























                        up vote
                        0
                        down vote













                        I am having the same issue running on 18.04.1 mate. netbeans installed from apt.



                        > mulawa@mike-VirtualBox:~$ netbeans --help Usage:
                        > /usr/share/netbeans/8.1/platform/lib/nbexec options arguments
                        >
                        > General options: --help show this help --jdkhome
                        > <path> path to Java(TM) 2 SDK, Standard Edition -J<jvm_option>
                        > pass <jvm_option> to JVM
                        >
                        > --cp:p <classpath> prepend <classpath> to classpath --cp:a
                        > <classpath> append <classpath> to classpath WARNING: An illegal
                        > reflective access operation has occurred WARNING: Illegal reflective
                        > access by org.netbeans.ProxyURLStreamHandlerFactory
                        > (file:/usr/share/netbeans/platform18/lib/boot.jar) to field
                        > java.net.URL.handler WARNING: Please consider reporting this to the
                        > maintainers of org.netbeans.ProxyURLStreamHandlerFactory 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 Exception in thread "main"
                        > java.awt.AWTError: Assistive Technology not found:
                        > org.GNOME.Accessibility.AtkWrapper at
                        > java.desktop/java.awt.Toolkit.newAWTError(Toolkit.java:472) at
                        > java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:488)
                        > at
                        > java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
                        > at
                        > java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
                        > at
                        > java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1608)
                        > at
                        > java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
                        > at
                        > java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
                        > at
                        > java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
                        > at
                        > java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
                        > at
                        > java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
                        > at
                        > java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
                        > at
                        > java.desktop/java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:532)
                        > at java.desktop/java.awt.Toolkit.getDefaultToolkit(Toolkit.java:613)
                        > at java.desktop/java.awt.Toolkit.getEventQueue(Toolkit.java:1494) at
                        > java.desktop/java.awt.EventQueue.invokeLater(EventQueue.java:1312) at
                        > java.desktop/javax.swing.SwingUtilities.invokeLater(SwingUtilities.java:1421)
                        > at org.netbeans.core.startup.Splash$SplashPainter.setText(Unknown
                        > Source) at org.netbeans.core.startup.Splash.print(Unknown Source) at
                        > org.netbeans.core.startup.Main.setStatusText(Unknown Source) at
                        > org.netbeans.core.startup.layers.LayerCacheManager.loadCache(Unknown
                        > Source) at
                        > org.netbeans.core.startup.layers.ModuleLayeredFileSystem.<init>(Unknown
                        > Source) at
                        > org.netbeans.core.startup.layers.SystemFileSystem.createInstallHomeSystem(Unknown
                        > Source) at
                        > org.netbeans.core.startup.layers.SystemFileSystem.create(Unknown
                        > Source) at
                        > org.netbeans.core.startup.layers.SessionManager.create(Unknown Source)
                        > at
                        > org.netbeans.core.startup.NbRepository.createDefaultFileSystem(Unknown
                        > Source) at org.netbeans.core.startup.NbRepository.<init>(Unknown
                        > Source) at
                        > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
                        > Method) at
                        > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
                        > at
                        > java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
                        > at
                        > java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
                        > at java.base/java.lang.Class.newInstance(Class.java:560) at
                        > org.openide.util.lookup.implspi.SharedClassObjectBridge.newInstance(Unknown
                        > Source) at
                        > org.openide.util.lookup.MetaInfServicesLookup$Item.getInstance(Unknown
                        > Source) at org.openide.util.lookup.AbstractLookup.lookup(Unknown
                        > Source) at org.openide.util.lookup.ProxyLookup.lookup(Unknown Source)
                        > at org.openide.filesystems.Repository$3.call(Unknown Source) at
                        > org.openide.filesystems.Repository$3.call(Unknown Source) at
                        > org.openide.filesystems.Repository.delayFileSystemAttachImpl(Unknown
                        > Source) at org.openide.filesystems.Repository.getDefault(Unknown
                        > Source) at org.openide.filesystems.Repository$4.getRepository(Unknown
                        > Source) at
                        > org.openide.filesystems.Repository.getLocalRepository(Unknown Source)
                        > at org.openide.filesystems.FileUtil.getConfigFile(Unknown Source) at
                        > org.openide.filesystems.FileUtil.getConfigRoot(Unknown Source) at
                        > org.netbeans.core.startup.CLICoreBridge.usage(Unknown Source) at
                        > org.netbeans.CLIHandler.showHelp(Unknown Source) at
                        > org.netbeans.CLIHandler.checkHelp(Unknown Source) at
                        > org.netbeans.CLIHandler.initialize(Unknown Source) at
                        > org.netbeans.CLIHandler.initialize(Unknown Source) at
                        > org.netbeans.MainImpl.execute(Unknown Source) at
                        > org.netbeans.MainImpl.main(Unknown Source) at
                        > org.netbeans.Main.main(Unknown Source) Caused by:
                        > java.lang.ClassNotFoundException: org.GNOME.Accessibility.AtkWrapper
                        > at
                        > java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
                        > at
                        > java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
                        > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
                        > at java.base/java.lang.Class.forName0(Native Method) at
                        > java.base/java.lang.Class.forName(Class.java:374) at
                        > java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:485)
                        > ... 49 more


                        and simillar error entry in log when installing from downloaded .sh file:



                        > java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper
                        > (...)
                        > Caused by: java.lang.ClassNotFoundException: org.GNOME.Accessibility.AtkWrapper


                        so if i read correctly, netbeans requires gnome even on different display manager?



                        EDIT:
                        this helped a little: https://askubuntu.com/a/723503/603947






                        share|improve this answer
























                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          I am having the same issue running on 18.04.1 mate. netbeans installed from apt.



                          > mulawa@mike-VirtualBox:~$ netbeans --help Usage:
                          > /usr/share/netbeans/8.1/platform/lib/nbexec options arguments
                          >
                          > General options: --help show this help --jdkhome
                          > <path> path to Java(TM) 2 SDK, Standard Edition -J<jvm_option>
                          > pass <jvm_option> to JVM
                          >
                          > --cp:p <classpath> prepend <classpath> to classpath --cp:a
                          > <classpath> append <classpath> to classpath WARNING: An illegal
                          > reflective access operation has occurred WARNING: Illegal reflective
                          > access by org.netbeans.ProxyURLStreamHandlerFactory
                          > (file:/usr/share/netbeans/platform18/lib/boot.jar) to field
                          > java.net.URL.handler WARNING: Please consider reporting this to the
                          > maintainers of org.netbeans.ProxyURLStreamHandlerFactory 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 Exception in thread "main"
                          > java.awt.AWTError: Assistive Technology not found:
                          > org.GNOME.Accessibility.AtkWrapper at
                          > java.desktop/java.awt.Toolkit.newAWTError(Toolkit.java:472) at
                          > java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:488)
                          > at
                          > java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
                          > at
                          > java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
                          > at
                          > java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1608)
                          > at
                          > java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
                          > at
                          > java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
                          > at
                          > java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
                          > at
                          > java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
                          > at
                          > java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
                          > at
                          > java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
                          > at
                          > java.desktop/java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:532)
                          > at java.desktop/java.awt.Toolkit.getDefaultToolkit(Toolkit.java:613)
                          > at java.desktop/java.awt.Toolkit.getEventQueue(Toolkit.java:1494) at
                          > java.desktop/java.awt.EventQueue.invokeLater(EventQueue.java:1312) at
                          > java.desktop/javax.swing.SwingUtilities.invokeLater(SwingUtilities.java:1421)
                          > at org.netbeans.core.startup.Splash$SplashPainter.setText(Unknown
                          > Source) at org.netbeans.core.startup.Splash.print(Unknown Source) at
                          > org.netbeans.core.startup.Main.setStatusText(Unknown Source) at
                          > org.netbeans.core.startup.layers.LayerCacheManager.loadCache(Unknown
                          > Source) at
                          > org.netbeans.core.startup.layers.ModuleLayeredFileSystem.<init>(Unknown
                          > Source) at
                          > org.netbeans.core.startup.layers.SystemFileSystem.createInstallHomeSystem(Unknown
                          > Source) at
                          > org.netbeans.core.startup.layers.SystemFileSystem.create(Unknown
                          > Source) at
                          > org.netbeans.core.startup.layers.SessionManager.create(Unknown Source)
                          > at
                          > org.netbeans.core.startup.NbRepository.createDefaultFileSystem(Unknown
                          > Source) at org.netbeans.core.startup.NbRepository.<init>(Unknown
                          > Source) at
                          > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
                          > Method) at
                          > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
                          > at
                          > java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
                          > at
                          > java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
                          > at java.base/java.lang.Class.newInstance(Class.java:560) at
                          > org.openide.util.lookup.implspi.SharedClassObjectBridge.newInstance(Unknown
                          > Source) at
                          > org.openide.util.lookup.MetaInfServicesLookup$Item.getInstance(Unknown
                          > Source) at org.openide.util.lookup.AbstractLookup.lookup(Unknown
                          > Source) at org.openide.util.lookup.ProxyLookup.lookup(Unknown Source)
                          > at org.openide.filesystems.Repository$3.call(Unknown Source) at
                          > org.openide.filesystems.Repository$3.call(Unknown Source) at
                          > org.openide.filesystems.Repository.delayFileSystemAttachImpl(Unknown
                          > Source) at org.openide.filesystems.Repository.getDefault(Unknown
                          > Source) at org.openide.filesystems.Repository$4.getRepository(Unknown
                          > Source) at
                          > org.openide.filesystems.Repository.getLocalRepository(Unknown Source)
                          > at org.openide.filesystems.FileUtil.getConfigFile(Unknown Source) at
                          > org.openide.filesystems.FileUtil.getConfigRoot(Unknown Source) at
                          > org.netbeans.core.startup.CLICoreBridge.usage(Unknown Source) at
                          > org.netbeans.CLIHandler.showHelp(Unknown Source) at
                          > org.netbeans.CLIHandler.checkHelp(Unknown Source) at
                          > org.netbeans.CLIHandler.initialize(Unknown Source) at
                          > org.netbeans.CLIHandler.initialize(Unknown Source) at
                          > org.netbeans.MainImpl.execute(Unknown Source) at
                          > org.netbeans.MainImpl.main(Unknown Source) at
                          > org.netbeans.Main.main(Unknown Source) Caused by:
                          > java.lang.ClassNotFoundException: org.GNOME.Accessibility.AtkWrapper
                          > at
                          > java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
                          > at
                          > java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
                          > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
                          > at java.base/java.lang.Class.forName0(Native Method) at
                          > java.base/java.lang.Class.forName(Class.java:374) at
                          > java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:485)
                          > ... 49 more


                          and simillar error entry in log when installing from downloaded .sh file:



                          > java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper
                          > (...)
                          > Caused by: java.lang.ClassNotFoundException: org.GNOME.Accessibility.AtkWrapper


                          so if i read correctly, netbeans requires gnome even on different display manager?



                          EDIT:
                          this helped a little: https://askubuntu.com/a/723503/603947






                          share|improve this answer














                          I am having the same issue running on 18.04.1 mate. netbeans installed from apt.



                          > mulawa@mike-VirtualBox:~$ netbeans --help Usage:
                          > /usr/share/netbeans/8.1/platform/lib/nbexec options arguments
                          >
                          > General options: --help show this help --jdkhome
                          > <path> path to Java(TM) 2 SDK, Standard Edition -J<jvm_option>
                          > pass <jvm_option> to JVM
                          >
                          > --cp:p <classpath> prepend <classpath> to classpath --cp:a
                          > <classpath> append <classpath> to classpath WARNING: An illegal
                          > reflective access operation has occurred WARNING: Illegal reflective
                          > access by org.netbeans.ProxyURLStreamHandlerFactory
                          > (file:/usr/share/netbeans/platform18/lib/boot.jar) to field
                          > java.net.URL.handler WARNING: Please consider reporting this to the
                          > maintainers of org.netbeans.ProxyURLStreamHandlerFactory 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 Exception in thread "main"
                          > java.awt.AWTError: Assistive Technology not found:
                          > org.GNOME.Accessibility.AtkWrapper at
                          > java.desktop/java.awt.Toolkit.newAWTError(Toolkit.java:472) at
                          > java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:488)
                          > at
                          > java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
                          > at
                          > java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
                          > at
                          > java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1608)
                          > at
                          > java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
                          > at
                          > java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
                          > at
                          > java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
                          > at
                          > java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
                          > at
                          > java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
                          > at
                          > java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
                          > at
                          > java.desktop/java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:532)
                          > at java.desktop/java.awt.Toolkit.getDefaultToolkit(Toolkit.java:613)
                          > at java.desktop/java.awt.Toolkit.getEventQueue(Toolkit.java:1494) at
                          > java.desktop/java.awt.EventQueue.invokeLater(EventQueue.java:1312) at
                          > java.desktop/javax.swing.SwingUtilities.invokeLater(SwingUtilities.java:1421)
                          > at org.netbeans.core.startup.Splash$SplashPainter.setText(Unknown
                          > Source) at org.netbeans.core.startup.Splash.print(Unknown Source) at
                          > org.netbeans.core.startup.Main.setStatusText(Unknown Source) at
                          > org.netbeans.core.startup.layers.LayerCacheManager.loadCache(Unknown
                          > Source) at
                          > org.netbeans.core.startup.layers.ModuleLayeredFileSystem.<init>(Unknown
                          > Source) at
                          > org.netbeans.core.startup.layers.SystemFileSystem.createInstallHomeSystem(Unknown
                          > Source) at
                          > org.netbeans.core.startup.layers.SystemFileSystem.create(Unknown
                          > Source) at
                          > org.netbeans.core.startup.layers.SessionManager.create(Unknown Source)
                          > at
                          > org.netbeans.core.startup.NbRepository.createDefaultFileSystem(Unknown
                          > Source) at org.netbeans.core.startup.NbRepository.<init>(Unknown
                          > Source) at
                          > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
                          > Method) at
                          > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
                          > at
                          > java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
                          > at
                          > java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
                          > at java.base/java.lang.Class.newInstance(Class.java:560) at
                          > org.openide.util.lookup.implspi.SharedClassObjectBridge.newInstance(Unknown
                          > Source) at
                          > org.openide.util.lookup.MetaInfServicesLookup$Item.getInstance(Unknown
                          > Source) at org.openide.util.lookup.AbstractLookup.lookup(Unknown
                          > Source) at org.openide.util.lookup.ProxyLookup.lookup(Unknown Source)
                          > at org.openide.filesystems.Repository$3.call(Unknown Source) at
                          > org.openide.filesystems.Repository$3.call(Unknown Source) at
                          > org.openide.filesystems.Repository.delayFileSystemAttachImpl(Unknown
                          > Source) at org.openide.filesystems.Repository.getDefault(Unknown
                          > Source) at org.openide.filesystems.Repository$4.getRepository(Unknown
                          > Source) at
                          > org.openide.filesystems.Repository.getLocalRepository(Unknown Source)
                          > at org.openide.filesystems.FileUtil.getConfigFile(Unknown Source) at
                          > org.openide.filesystems.FileUtil.getConfigRoot(Unknown Source) at
                          > org.netbeans.core.startup.CLICoreBridge.usage(Unknown Source) at
                          > org.netbeans.CLIHandler.showHelp(Unknown Source) at
                          > org.netbeans.CLIHandler.checkHelp(Unknown Source) at
                          > org.netbeans.CLIHandler.initialize(Unknown Source) at
                          > org.netbeans.CLIHandler.initialize(Unknown Source) at
                          > org.netbeans.MainImpl.execute(Unknown Source) at
                          > org.netbeans.MainImpl.main(Unknown Source) at
                          > org.netbeans.Main.main(Unknown Source) Caused by:
                          > java.lang.ClassNotFoundException: org.GNOME.Accessibility.AtkWrapper
                          > at
                          > java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
                          > at
                          > java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
                          > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
                          > at java.base/java.lang.Class.forName0(Native Method) at
                          > java.base/java.lang.Class.forName(Class.java:374) at
                          > java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:485)
                          > ... 49 more


                          and simillar error entry in log when installing from downloaded .sh file:



                          > java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper
                          > (...)
                          > Caused by: java.lang.ClassNotFoundException: org.GNOME.Accessibility.AtkWrapper


                          so if i read correctly, netbeans requires gnome even on different display manager?



                          EDIT:
                          this helped a little: https://askubuntu.com/a/723503/603947







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Aug 23 at 12:49

























                          answered Aug 23 at 12:19









                          murison

                          1013




                          1013






















                               

                              draft saved


                              draft discarded


























                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1032030%2fnetbeans-does-not-start-on-fresh-ubuntu-18-04-installation%23new-answer', 'question_page');

                              );

                              Post as a guest













































































                              Popular posts from this blog

                              How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

                              Trouble downloading packages list due to a “Hash sum mismatch” error

                              How do I move numbers in filenames, in a batch renaming operation?