How to migrate JavaFX app from JDK 1.8 to JDK 10 [duplicate]
How to migrate JavaFX app from JDK 1.8 to JDK 10 [duplicate] This question already has an answer here: I have a legacy JavaFX app which compiles and runs correctly on JDK 1.8. To move to JDK 10 I've added these to the pom.xml: <dependency> <groupId>javax.xml.bind</groupId> <artifactId>jaxb-api</artifactId> <version>2.3.0</version> </dependency> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.7.0</version> <configuration> <release>10</release> <compilerArgs> <arg>--add-modules</arg> <arg>javax.xml.bind</arg> </compilerArgs> </configuration> </plugin> Running mvn clean install -DskipTests with JDK 10.0.1 and mvn 3.3.9 gives mvn clean install...
