-
Running a Java program from a batch, preventing window from opening
I whipped up a batch file to start a Java app I was developing, and it kept opening an ugly DOS window. I first tried making a shortcut and setting it to start minimized, but then I came across this thread at Sun Developer Network and applied it successfully to keep the window from popping up:
@ECHO OFF start javaw -classpath .;swt.jar CrosswordGame exit