Remove all javafx-*.jar from the "Classpath entries' and instead list them under the "Modulepath Entries". In addition, "Add modules:" at the bottom needs to be changed from the default "--" to ...