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

前端 未结 8 2184
闹比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条回答
  •  悲&欢浪女
    2020-12-22 00:22

    Assume you have added jfxrt.jar into reference libraries...

    Now

    Right Click your Project -> Properities -> Run/Debug Settings -> Click the Css2Bin ->

    Main Class:

    Click the Search button

    to change com.sun.javafx.css.parser.Css2Bin into your project main class

    and

    Mark the checkbox

    • Include system libraries when searching for a main class
    • Include inherited mains when searching for a main class

提交回复
热议问题