Trying to install/startup Jenkins in Ubuntu Server - hudson.util.AWTProblem

Thanks to the following link at Jenkins Jira

  • AWT initialized even with -Djava.awt.headless=true

Is mandatory install fontconfig[.x86_64], so was just enough execute

  • sudo apt install fontconfig

Note in jira was really suggested to install fontconfig.x86_64 but it does not exist on Ubuntu repositories. Perhaps is available for other distributions. So one of them should be viable, either fontconfig or fontconfig.x86_64

Once installed execute in peace:

  • java -jar jenkins.war --httpPort=9090 (is not need it -Djava.awt.headless=true )