views:

158

answers:

1

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?

+6  A: 

Use

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

instead of what you have there.

laz
+1The javaw command is identical to java, except that javaw has no associated console window.
ring bearer