[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-java
Subject:    Re: Problem in running Jdk1.2.2rc2 Demo on redhat 6.1
From:       Paolo Ciccone <pciccone () mailandnews ! com>
Date:       1999-11-30 19:46:25
[Download RAW message or body]

On Tue, Nov 30, 1999 at 02:45:52PM -0000, 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)
>     ...

If you have X running than it could be a matter of access rights. From
another terminal window type "xhost +" and then run the program again.

-- 
Paolo


----------------------------------------------------------------------
To UNSUBSCRIBE, email to java-linux-request@java.blackdown.org
with a subject of "unsubscribe". Trouble? Contact karl@blackdown.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic