sialcasa / mvvmFX

an Application Framework for implementing the MVVM Pattern with JavaFX
Apache License 2.0
484 stars 105 forks source link

Why does it crash after I use jpackage to package it into dmg, and what should I do? Here is my module-info.java #624

Closed lqyaos closed 2 years ago

lqyaos commented 2 years ago

Why does it crash after I use jpackage to package it into dmg, and what should I do? Here is my module-info.java

module com.example.packtest { requires javafx.fxml; requires de.saxsys.mvvmfx; requires javafx.controls; opens com.example.packtest to de.saxsys.mvvmfx,javafx.fxml; exports com.example.packtest; }

manuel-mauky commented 2 years ago

I think that no one has tried using jpackage with mvvmFX yet.

I'm in the process of reworking the framework to use an up-to-date JDK and to use module system internally so that all dependencies are modeled correctly. I assume that this will help to use the framework with jpackage. However, it still takes some time to finish this rework.

lqyaos commented 2 years ago

Thanks for your reply, so how do I pack it? Because I need the running environment of jdk11

lqyaos commented 2 years ago

hi I have packaged it out using the jpackage non-modular command thank you