When I wrap my jar-file with the GUI header and "stay alive" checked, my exe starts and closes after a few seconds all by itself. Running that exe from commandline with --l4j-debug I get an empty log-file (0KB).
When I wrap the same jar-file with exactly the same settings, but "stay alive" not checked, the exe runs smoothly and does not close by itself.
Is this desired behaviour? If so, could someone explain?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I wrap my jar-file with the GUI header and "stay alive" checked, my exe starts and closes after a few seconds all by itself. Running that exe from commandline with --l4j-debug I get an empty log-file (0KB).
When I wrap the same jar-file with exactly the same settings, but "stay alive" not checked, the exe runs smoothly and does not close by itself.
Is this desired behaviour? If so, could someone explain?
Solution
Seems that it somehow interferes with "Bitdefender Free antivirus". After uninstalling Bitdefender, all behaves as expected.