Java11 / JavaFX and Maven will not run outside of NetBeans IDE 9
As per JavaFX deployment library not found in active JDK I used José Pereda Maven approach and it works well in NetBeans but as soon as I try and run it outside with "java -jar mavenproject1-1.0-SNAPSHOT-jar-with-dependencies.jar" I get the following error "Error: JavaFX runtime components are missing, and are required to run this application" The "md.mavenproject1.MainApp" is just a temp name while I try and figure this out. My pom file looks like: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"