When running Apache Tomcat or tc Server on a system without a graphical user interface, you must set the java.awt.headless system property to true. This allows an application to access the graphics processing capabilities of the JVM for making graphs, charts, or other images to be displayed on a remote system.
This article provides information on the libraries that are required when you set the java.awt.headless system property to true.
When you set the java.awt.headless system property to true and access the graphical processing capabilities of the JVM, it creates a dependency on some native libraries that may or may not be installed on the system.
For a Linux/Unix based system, it creates a dependency on Xorg X11 libraries.
The following list provides the libraries that should be installed for several common distributions of Linux.