Jump to content
Excelsior Forums


  • Content count

  • Joined

  • Last visited

Posts posted by pfaco

  1. Hello guys!

    I'm trying to compile a JavaFX-8 application using Excelsior JET.

    In the tab "TEST RUN" when clicking in "Run!" I receive the following message:

    The application has started with command line:

    java -cp "C:\temp\EletraMeterBench.jar;C:\Program Files (x86)\Java\jre1.8.0_73\lib\ext\jfxrt.jar" main/AppEletraDLMS


    Exception in thread "main" java.lang.ExceptionInInitializerError

    at gui.meter.GuiMeter.<init>(Unknown Source)

    at gui.meter.GuiMeter.getInstance(Unknown Source)

    at gui.Gui.<init>(Unknown Source)

    at gui.Gui.getInstance(Unknown Source)

    at main.Manager.<clinit>(Unknown Source)

    at main.AppEletraDLMS.<clinit>(Unknown Source)

    Caused by: java.lang.IllegalStateException: Toolkit not initialized

    at com.sun.javafx.application.PlatformImpl.runLater(Unknown Source)

    at com.sun.javafx.application.PlatformImpl.runLater(Unknown Source)

    at com.sun.javafx.application.PlatformImpl.setPlatformUserAgentStylesheet(Unknown Source)

    at com.sun.javafx.application.PlatformImpl.setDefaultPlatformUserAgentStylesheet(Unknown Source)

    at javafx.scene.control.Control.<clinit>(Unknown Source)

    ... 6 more


    The application has terminated with exit code: 1

    I tried compiling and running the generated .exe, but the same error arrives.

    I didn't did any special configuration, and I'm wondering if I should?

    So far I couldn't get any information from google, forum, tutorials and documentation, so I hope to get an answer here! :)

    Anyone has any idea how to approach this?