poidasmith / winrun4j

WinRun4J Java Application Launcher
http://winrun4j.sourceforge.net
212 stars 63 forks source link

It seems exe will catch every vm args exist in comand line and use them even some args shouldn't be caught #97

Open Seiphon opened 3 years ago

Seiphon commented 3 years ago

Hi, I met a problem when using winrun4j, hope you can give some adivices.

I using myapp.exe to excute a command with jvm args. What I expected is pass the jvm args as a regular args to my app, however myapp.exe will catch every vm args exist and use them. So my app can not get expected args.

btw, when I using "java -jar myapp.jar" to execute the command, it works well. the vm args can be passed to my app.

So I am wondering is the winrun4j designed to do that? or is there anyway I can use to avoid this?

Hope get your reply, thank you guys very much.