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



^3^ thank you

"Ian Shef" <invalid@xxxxxxxxxxxxx> ¦b¶l¥ó
news:Xns97907683A2778vaj4088ianshef@xxxxxxxxxxxxxxx ¤¤¼¶¼g...
"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: Block javaw?
    ... javaw - javaw.exe - Process Information ... Process Name: Sun Java ... Often works together with Internet Explorer. ...
    (microsoft.public.windowsxp.general)
  • 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)
  • Re: [opensuse] Starting a Java application
    ... That is indeed where Java lives, but there is no file called "javaw" ... The typo is in $HOME/Desktop/Genealogy\ J.desktop ...
    (SuSE)
  • Re: [opensuse] Starting a Java application
    ... That is indeed where Java lives, but there is no file called "javaw" ... It's a typo. ... If you're thinking of Java Web Start, the command is javaws. ...
    (SuSE)
  • Re: How to hide the command prompt?
    ... never heard that javaw is only for windows. ... java - The Java Interpreter ... The java command executes Java .class files created by ...
    (comp.lang.java.gui)