Why can't a servlet find class sun/awt/X11GraphicsEnvironment on a Solaris server?
Created May 7, 2012
Nathan Meyers
Any use of the AWT requires access to an X server - even if you are not creating any windows. A couple of ways to handle it are:
Run a virtual-frame-buffer version of an X server, as discussed in http://www.jguru.com/faq/view.jsp?EID=222296.
Drop in an alternate AWT that doesn't depend on an X server. An example is the PJA Toolkit.
See also the discussion at http://www.jguru.com/faq/view.jsp?EID=121936.