HI Tobias,
What build of jpackage do you use?
There should be no such issue in recent jpackage builds. Please check
https://jdk.java.net/jpackage/ for the latest EA JDK build with jpackage.
- Alexey
On 10/25/2019 12:20 PM, Tobias Diez wrote:
Hello everybody,
currently, the default launcher generated by jpackage does not accept
command line arguments. On the other hand, the console launcher
(--win-console) allows to specify command line arguments but then a command
line window is kept open (which is fine for command line applications but
not for gui applications). Thus, what is missing is a launcher that admits
command line arguments without keeping the cmd window open.
It would be nice if this feature could be added. I guess it is quite common
that gui applications also admit cmd arguments.
Best regards
Tobias