开发者

hide the console window when use batch file to launch a java program?

开发者 https://www.devze.com 2022-12-27 05:13 出处:网络
I use a batch to launch my java application like this start /min java -splash:resources\\images\\splash\\splash.gif com.myproj.MyProjApp

I use a batch to launch my java application like this

start /min java -splash:resources\images\splash\splash.gif com.myproj.MyProjApp
exit

There is still a icon on the taskbar. what I want is hide the console window and only add ONE icon which is my app开发者_运维技巧lication on the taskbar when I click that batch file?


Use

javaw -splash:resources\images\splash\splash.gif com.myproj.MyProjApp

instead of what you have there.

0

精彩评论

暂无评论...
验证码 换一张
取 消