I read an article here and understood that there are differences between packaging JavaFX 11 and Java 11, from my project. However, I still don't know how to do it with my project.
Mine is built in Eclipse, using Maven. It is built using Java 8 JRE and JavaFX 22. I tried changing my system Java installation to Java 8, but Eclipse refused to run requiring Java 17 upwards. So, while I am still using Java 8 in development, the system java path has Java 20. I further managed to build a jar file with Eclipse, but when I run it, it tells me "... fx runtime components are missing... " I cannot package to an MSI without the jar file. What do you suggest I do in my case? My project is long overdue!
Furthermore, I am using some javafx.embed.swing.SwingFXUtils class which maven fails to compile. However, it works just fine if I run the application from Eclipse's run button. Here is a snapshot of when I do a maven build with goals: "clean install"
I need help to see that this project is packaged and shared this week.
Thanks in advance.
