HOW TO
Some MapObjects Java and ArcIMS Java libraries require the availability of the java.awt package. Most versions of the java.awt library on UNIX require a graphics environment supported by a functioning X server. The X server and the DISPLAY environment variable need to be set correctly. However sometimes Java applications and libraries dependent on the java.awt package must be deployed on a machine without a local graphics environment.
A common error when a valid graphics environment cannot be found is:"Can't connect to x11 window server using ':0.0'"Below is a list of possible solutions:
Code:
-Djava.awt.headless=true
Code:
setenv DISPLAY=remotehost:0.0
export DISPLAY
Article ID:000006255
Get help from ArcGIS experts
Download the Esri Support App