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

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

    XMLWordPrintable

    Details

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: