java.lang.InternalError: Can't connect to X11 window server using 'whale.cscs.qmw.ac.uk:49.0' as the value of the DISPLAY variable .

Oracle Community | 807593 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Please help with program that works but display problem on unix

    Oracle Community | 1 decade ago | 807593
    java.lang.InternalError: Can't connect to X11 window server using 'whale.cscs.qmw.ac.uk:49.0' as the value of the DISPLAY variable .

    Root Cause Analysis

    1. java.lang.InternalError

      Can't connect to X11 window server using 'whale.cscs.qmw.ac.uk:49.0' as the value of the DISPLAY variable .

      at sun.awt.X11GraphicsEnvironment.initDisplay()
    2. Java RT
      Main.main
      1. sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
      2. sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:59)
      3. java.lang.Class.forName0(Native Method)
      4. java.lang.Class.forName(Class.java:120)
      5. java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
      6. java.awt.Window.<init>(Window.java:188)
      7. java.awt.Frame.<init>(Frame.java:315)
      8. java.awt.Frame.<init>(Frame.java:262)
      9. sun.applet.AppletViewer.<init>(AppletViewer.java:139)
      10. sun.applet.StdAppletViewerFactory.createAppletViewer(AppletViewer.java:81)
      11. sun.applet.AppletViewer.parse(AppletViewer.java:1035)
      12. sun.applet.AppletViewer.parse(AppletViewer.java:969)
      13. sun.applet.Main.run(Main.java:140)
      14. sun.applet.Main.main(Main.java:82)
      14 frames