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.
- RedHat Enterprise Linux -In RedHat Enterprise Linux 4 and CentOS 4, libXp.so.6 is in the xorg-x11-deprecated-libs RPM.
- Debian / Ubuntu - Install the libxp6, libxt6, libxtst6, and libx11-6 packages.
- Fedora Core 5 - The libXp.so library is split in its own package. You must install the libXp RPM.
- Other distributions - The required libraries can often be found in either the XFree86-libs or the xorg-x11-libs package.