JavaFX in Eclipse Helios: IllegalArgumentException (Css2Bin.java:44)

前端 未结 8 2178
闹比i
闹比i 2020-12-21 23:34

I got this error while trying to start and make javafx 2.0 in eclipse helios

Exception in thread "main" java.lang.IllegalArgumentException: expected         


        
8条回答
  •  旧时难觅i
    2020-12-22 00:32

    • Add the jfxrt.jar to Build Path
    • Go to properties jfxrt.jar in Referenced Libraries
    • GO to Run/Debug Settings>Css2Bin
    • Mark the check box:
      • Include system libraries when searching for a main class
      • Include inherited mains when searching for a main class

    Now be happy!

提交回复
热议问题