X11 Libraries for Headless Java Apps

Modern versions of Java support running in “headless” mode, allowing applications to access AWT classes even when on a machine that is not connected to a keyboard, mouse, or display. The default Linux configurations provided with dedicated servers, however, often lack the necessary X11 libraries to support headless mode. “Linux Libraries for Headless Applications” is a brief howto for installing the missing libraries.