It’s time! Migrating to Java 11
It was mostly pretty straightforward. One thing I couldn't figure out, while trying to run my modularized Spring Petclinic JAR, I was getting this error:
Two versions of module javafx.base found in target/modules (javafx.base-11.0.0-SNAPSHOT-win.jar and javafx.base-11.0.0-SNAPSHOT-linux.jar)
I looked in target/modules and discovered what looked like 3 platform-specific versions of the JavaFX JAR. I removed them manually
and then I was able to run the JAR.
Googling the error yielded no matches. Why does this non-graphical, server-side application even have any dependency on JavaFX? What's up with 4 separate versions of this JAR?