title: Having trouble launching server with Java. Display error [Cent OS 6]
body: <p>[root@null folder]# java -classpath bin:deps/poi.jar:deps/mysql.jar:deps/mina.jar:deps/slf4j.jar:deps/slf4j-nop.jar:deps/jython.jar:log4j-1.2.15.jar: server.Server</p>
  
  <p>Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
          *at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
          *at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65)
          *at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:110)
          *at java.security.AccessController.doPrivileged(Native Method)
          at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:74)
          at java.lang.Class.forName0(Native Method)
          at java.lang.Class.forName(Class.java:188)
          at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:102)
          at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:81)
        *  at java.awt.Window.initGC(Window.java:467)
       *   at java.awt.Window.init(Window.java:487)
          at java.awt.Window.(Window.java:536)
          at java.awt.Frame.(Frame.java:420)
          at java.awt.Frame.(Frame.java:385)
         * at javax.swing.JFrame.(JFrame.java:180)
          at server.util.ControlPanel.(ControlPanel.java:20)
          at server.Server.(Server.java:83)</p>
  
  <p>I'm using a Terminal for this and not a GUI.</p>