Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

awt, swing and Tomcat

Status
Not open for further replies.

gerito

Programmer
Sep 11, 2002
8
ES
Hello. How can I configure my Tomcat so that it doesn't fail with AWT and SWING packages?

The problem is that:
When I try to use any class of this packages (Image, ImageIcon, ...) it gives back this error:

"java.lang.InternalError: Can't connect to X11 window server using ':0.0'
as the value of the DISPLAY variable"

I have already change xhost values, I think that the problem is in Tomcat Configuration.

Thanks and greetings.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top