ich versuche schon seit Tagen, NetBeans 8.2 zu installieren.
Leider schmiert die Installation immer mit folgender Meldung ab:
Wenn ich die installation mit --verbose starte kommen folgende Meldungen:root@DEVELOP:/home/zsolt/Downloads# ./netbeans-8.2-linux.sh
Configuring the installer...
Searching for JVM on the system...
Extracting installation data...
Running the installer wizard...
Exception: java.lang.NoClassDefFoundError thrown from the UncaughtExceptionHandler in thread "main"
in der log-Datei steht genau das gleiche wie hier gepostet.. . . .
[2017-02-19 08:24:09.824]: ... finished initializing the engine
[2017-02-19 08:24:09.831]: exiting -- org.netbeans.installer.Installer.main():81
[2017-02-19 08:24:09.831]: entering -- org.netbeans.installer.Installer.main():81
[2017-02-19 08:24:09.832]: starting the installer
[2017-02-19 08:24:09.836]: ... initializing look and feel
[2017-02-19 08:24:09.837]: ... custom look and feel class name was not specified, using system default
[2017-02-19 08:24:09.929]: ... initializing L&F finished
[2017-02-19 08:24:09.931]: An unexpected exception happened in thread main
[2017-02-19 08:24:09.932]: java.awt.AWTError: Can't connect to X11 window server using 'localhost:0.0' as the value of the DISPLAY variable.
[2017-02-19 08:24:09.932]: at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
[2017-02-19 08:24:09.932]: at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65)
[2017-02-19 08:24:09.932]: at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:115)
[2017-02-19 08:24:09.932]: at java.security.AccessController.doPrivileged(Native Method)
[2017-02-19 08:24:09.932]: at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:74)
[2017-02-19 08:24:09.932]: at java.lang.Class.forName0(Native Method)
[2017-02-19 08:24:09.932]: at java.lang.Class.forName(Class.java:264)
[2017-02-19 08:24:09.932]: at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)
[2017-02-19 08:24:09.932]: at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
[2017-02-19 08:24:09.932]: at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:126)
[2017-02-19 08:24:09.932]: at java.lang.Class.forName0(Native Method)
[2017-02-19 08:24:09.933]: at java.lang.Class.forName(Class.java:264)
[2017-02-19 08:24:09.933]: at java.awt.Toolkit$2.run(Toolkit.java:860)
[2017-02-19 08:24:09.933]: at java.awt.Toolkit$2.run(Toolkit.java:855)
[2017-02-19 08:24:09.933]: at java.security.AccessController.doPrivileged(Native Method)
[2017-02-19 08:24:09.933]: at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)
[2017-02-19 08:24:09.933]: at javax.swing.UIManager.getSystemLookAndFeelClassName(UIManager.java:611)
[2017-02-19 08:24:09.933]: at org.netbeans.installer.utils.UiUtils.getDefaultLookAndFeelClassName(UiUtils.java:468)
[2017-02-19 08:24:09.933]: at org.netbeans.installer.utils.UiUtils.initializeLookAndFeel(UiUtils.java:261)
[2017-02-19 08:24:09.934]: at org.netbeans.installer.wizard.Wizard.newWizardContainer(Wizard.java:493)
[2017-02-19 08:24:09.934]: at org.netbeans.installer.wizard.Wizard.open(Wizard.java:529)
[2017-02-19 08:24:09.934]: at org.netbeans.installer.Installer.start(Installer.java:144)
[2017-02-19 08:24:09.934]: at org.netbeans.installer.Installer.main(Installer.java:81)
[2017-02-19 08:24:09.935]: ... show message dialog
[2017-02-19 08:24:09.935]: title: Critical Error
[2017-02-19 08:24:09.935]: message: An unexpected exception happened in thread main
[2017-02-19 08:24:09.935]:
[2017-02-19 08:24:09.935]: Exception:
[2017-02-19 08:24:09.935]: java.awt.AWTError:
[2017-02-19 08:24:09.935]: Can't connect to X11 window server using 'localhost:0.0' as the value of the DISPLAY variable.
[2017-02-19 08:24:09.935]:
[2017-02-19 08:24:09.935]: You can get more details about the issue in the installer log file:
[2017-02-19 08:24:09.936]: /root/.nbi/log/20170219082409.log
Exception: java.lang.NoClassDefFoundError thrown from the UncaughtExceptionHandler in thread "main"
[2017-02-19 08:24:09.962]: executing command: chmod ugo+x nbi-cleaner7439798126810803593.sh, in directory: /tmp
[2017-02-19 08:24:09.981]: [return]: 0
[2017-02-19 08:24:09.982]: ... command execution finished
[2017-02-19 08:24:09.983]: ... cleaning process has been started
[2017-02-19 08:24:10]> ... java process finished with code 1
[2017-02-19 08:24:10]> Removing directory /tmp/.nbi-7022407.tmp
[2017-02-19 08:24:10]> exitCode = 1
Irgend wie kann er nicht auf den X11 Server zugreifen.
Eine intensive Suche -> http://www.google.de hat leider keinen Erfolg gebracht, oder ich ab falsch gesucht.
Was ich gefunden habe, das man irgendwie ein export display=0:0 machen soll. aber ich weis nicht wo ich das eintragen soll bzw. wenn ich es in der Konsole eingebe, wird es angenommen aber es bringt keinen Erfolg.
Hat einer eine Lösung?
Gruß ZHermann