On a freshly installed Gnome, my JavaFX application cannot start via mvn javafx:run
due to this error:
Error: JavaFX detected no fonts: Please refer to release-notes for proper font configuration
However I don't find such a guide in the release notes .
How can I get JavaFX to work?
jdk-openjdk 12.0.2.u10-10
GNOME Shell 3.32.2
Maven 3.6.1
fontconfig 2:2.13.1+12+g5f5ec56-1
maven-compiler-plugin 3.8.0 with release set to 12
org.openjfx.{controls,web,fxml} 12.0.1
javafx-maven-plugin 0.0.3
我已经通过安装字体 'ttf-dejavu' 修复了
sudo pacman -S ttf-dejavu
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.