Re: Help **** How to hide the command prompt window when executing ?



"Ray in HK" <ray@xxxxxxxxx> wrote in news:4423ec34@xxxxxxxxx:

How can i hide the command prompt window when executing a java program ?
What option should be included ?


The javadocs are your friend:

"The javaw command is identical to java, except that with javaw there is no
associated console window. Use javaw when you don't want a command prompt
window to appear. The javaw launcher will, however, display a dialog box with
error information if a launch fails for some reason."



--
Ian Shef 805/F6 * These are my personal opinions
Raytheon Company * and not those of my employer.
PO Box 11337 *
Tucson, AZ 85734-1337 *
.



Relevant Pages

  • Re: Help **** How to hide the command prompt window when executing ?
    ... The javadocs are your friend: ... "The javaw command is identical to java, except that with javaw there is ...
    (comp.lang.java)
  • Re: Starting Swing GUI without extra console window?
    ... as even with javaw the console window remains. ... If a shortcut, rather than a batch file, is used to launch javaw TheClass, then as you suggest, the console window won't show up at all. ...
    (comp.lang.java.gui)
  • Re: Starting Swing GUI without extra console window?
    ... as even with javaw the console window remains. ... If a shortcut, rather than a batch file, is used to launch javaw TheClass, then as you suggest, the console window won't show up at all. ...
    (comp.lang.java.gui)
  • java, javaw, and console windows
    ... there is some bug or "complication" with javaw that ... results in javaw processes "hanging around" when a program gets into a ... less-than-graceful termination state. ... eliminating the console window), but as I mention, I am seeing a number ...
    (comp.lang.java.help)
  • Re: Running Java on an XP/Windows machine - without the DOS box.
    ... The javaw command is identical to java, except that with javaw there is no associated console window. ... Use javaw when you don't want a command prompt window to appear. ... The javaw launcher will, however, display a dialog box with error information if a launch fails for some reason. ...
    (comp.lang.java.programmer)