I have used install4J and bundled my jar and files into an exe. It creates an exe with the name and when double clicked it opens up a swing window, which works as expected.
When this exe was a jar, it used to work in two different ways.
Double click, and as there are no
String args[]it used to open a swing window.Call it via
java -jar test.jar -DFIX_RULES="true" -DTEST="false" C://TestMe C://TestMe2as here we are passing arguments and-Dargs, it used to run as a service too.
How do I call exe with arguments now? Has any one done this?