Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8093936

No fonts found when running with no fontconfig and -Djava.ext.dirs

XMLWordPrintable

      Run on the Freescale SDP using a full JDK, with no fontconfig, pointing to a JavaFX JAR outside of the JDK directory:

      /opt/java/bin/java -Djava.ext.dirs=/opt/fx/lib/ext -cp /opt/apps/Hello.jar hello.HelloLabel

      Observe the following error:

      Error: JavaFX detected no fonts! Please refer to release notes for proper font configuration
      Exception in Application start method
      Exception in thread "JavaFX Application Thread" java.lang.NoClassDefFoundError: Could not initialize class javafx.scene.CssStyleHelper

      There are fonts available (in the JDK) but we are not finding them.

            ddhill David Hill (Inactive)
            dblaukop Daniel Blaukopf (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: