Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 851
5YrsLaterDBA Avatar asked Apr 19 '10 19:04

5YrsLaterDBA


1 Answers

Use

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

instead of what you have there.

like image 173
laz Avatar answered Sep 19 '22 20:09

laz