5

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?

1 Answer 1

12

Use

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

instead of what you have there.

Sign up to request clarification or add additional context in comments.

1 Comment

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.