Fontconfigをインストールした後も、Jenkins Fontconfigヘッダーは空です。

Fontconfigをインストールした後も、Jenkins Fontconfigヘッダーは空です。

jenkins.warを使用してUniversal Jenkinsをインストールしようとしています。起動時に次のエラーが発生します。

2024-03-05 15:23:36.018+0000 [id=1]     SEVERE  hudson.util.BootFailure#publish: Failed to initialize Jenkins
java.lang.RuntimeException: Fontconfig head is null, check your fonts or fonts configuration
        at java.desktop/sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1263)

フォント設定をインストールしました

rpm -qa | grep fontconfig
fontconfig-2.8.0-5.el6.x86_64
fontconfig-devel-2.8.0-5.el6.x86_64

また、-Djava.awt.headless=true で始めてみました。

私はここにいる

  • オープンJDK 21
  • ジェンキンス 2.440.1
  • Red Hat Enterprise Linuxサーバーバージョン6.10(サンディエゴ)
  • base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch

ベストアンサー1

おすすめ記事