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