Closed GuoHuaijian closed 1 year ago
Hi @GuoHuaijian! Please, can you try to run your app from the runnable JAR file instead of EXE file?
You can set
winConfig.wrapJar=false
and build again your app, so JAR file will not be wrapped into EXE file and then just change totarget/${name}
and runjava -jar ${name}-${version}-runnable.jar
.
Hi@fvarrui! I change to target/${name} and run java -jar ${name}-${version}-runnable.jar. But it has an error, Error: JavaFX runtime component is missing and needs to be used to run this application. Then I change to target/ and running java -jar ${name}-${version}.jar is fine
I change to target/${name} and run java -jar ${name}-${version}-runnable.jar. But it has an error, Error: JavaFX runtime component is missing and needs to be used to run this application
Please, try with this tip. #20
Also, would it be possible for you to prepare a simple example that reproduces the problem so that I can do some research on this issue?
Hi @GuoHuaijian! Any news?
Issue closed due to lack of activity. Please, if the problem persists, reopen this issue. Thanks!
I'm submitting a…
Short description of the issue/suggestion:
I developed my program with springboot and Springboot-Javafx-support, and packaged my program with javapackager with the following error
Steps to reproduce the issue/enhancement:
What is the expected behavior?
What is the current behavior?
Do you have outputs, screenshots, demos or samples which demonstrate the problem or enhancement?
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Other information (e.g. related issues, suggestions how to fix, links for us to have context)