JPro-one / JPro-Tickets

The right place to report about bugs or suggest improvements for JPro.
https://www.jpro.one
9 stars 4 forks source link

What's the difference b/w jpro & java/javafx related to modules system? #128

Open ctoabidmaqbool opened 2 years ago

ctoabidmaqbool commented 2 years ago

I am noting may projects successfully run in jpro web (e.g. gralde jproRun) but not in normal javafx (e.g. gradle run).

It's because of module system of java 11 / 17.

Is there is some simple trick to disable module / jigsa system at all. Behave just like Java 8.

How jpro manage this???

Any help is much appreciated, It's urgent!

FlorianKirmaier commented 2 years ago

You are right, JPro doesn't use the module system. You can just use the "normal classpath".

To avoid issues with the limitation, that the module system must be used, when the main class is a JavaFX application, you can call Application.launch(<YourApp>.class); in the main method.