On Tue, 30 Nov 1999, John Louis wrote: > Hi, > I try to run the SimpleExample, it give me these error: > > 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.<clinit>(X11GraphicsEnvironment.java:62) > ... > > > However, I can compile it, but I cant run it. What is the problem? > I also had this problem on a sun, the only workaround I found was to directly set this display var, if you work on <hugo> set DISPLAY to hugo:0.0. Or you run the Prog remote from another station, and forgot to set the DISPLAY var. Or you made a: su - and forgot to set the DISPLAY var or the user root has not the right to connect to your XServer. Ingo * ****** ** "Linux is like living in a teepee. No Windows, no Gates, ***** *** Apache in house." Usenet Signature **** **** *** ***** Ingo Rockel, EMAIL: [EMAIL PROTECTED] ** ****** Homepage: http://inro.da.ru * ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]