> 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?

You're probably trying to run it in a terminal window without X
running.  Any graphics references require X to be running.  IIRC, any
AWT class requires X.

-- 
Justin Lee - "The Internet and mp3s have taken a lot of bands out of the
garage that never should have left."


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to