5YrsLaterDBA
5YrsLaterDBA

Reputation: 34730

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

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 application on the taskbar when I click that batch file?

Upvotes: 5

Views: 7288

Answers (1)

laz
laz

Reputation: 28638

Use

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

instead of what you have there.

Upvotes: 12

Related Questions