Headless continuous integration with Jenkins

Finally found a solution.

Believe it or not, it was actually just a matter of installing ttf-dejavu font!

I’m ashamed...


Installation of java-1.6.0-openjdk resulted in the following dependency's:

  • fontconfig
  • libXfont
  • libfontenc
  • ttmkfdir
  • xorg-x11-font-utils
  • xorg-x11-fonts-Type1

After the installation of those packages and a restart of jenkis, everything worked as designed.


On my fedora 17 64Bit machine, I had OpenJDK 1.7 installed and I yum installed Jenkins which was having the same issue. Setting up -Djava.awt.headless=true did not help.

Finally solved the issue by installing dejavu-sans-fonts:

yum install dejavu-sans-fonts