Re: "javaw.exe" does NOT prevent popup of black command prompt when starting GUI *.jar prgm



Yes, you are right.
It's in a *.bat batch file

How can I prevent the popup in this case?


On Mon, 28 Dec 2009 12:32:14 +0200, Donkey Hottie <donkey@xxxxxxxxxx>
wrote:

On 28.12.2009 12:06, Ulf Meinhardt wrote:
I read that when I start a GUI based java program with

javaw.exe -jar myprgm.jar

instead of

java.exe -jar myprgm.jar

then NO black command prompt console window is visible/poped up (under WinXP).

This is not true!

javaw.exe shows the command prompt window as well (in addition to the actual GUI window)!!!

Is there really no way of preventing the popup of the console?


Is this javaw.exe invocation in a batch file (.bat, .cmd)? If so, then
the console window will show.

It should not show up if the javaw is called directly from the shortcut.

.



Relevant Pages

  • Re: No DOS Popup?
    ... How can the following batch file be changed so that when it is run the ... dos screen will not popup? ... <<Batch Code ...
    (microsoft.public.scripting.vbscript)
  • No DOS Popup?
    ... How can the following batch file be changed so that when it is run the ... dos screen will not popup? ... <<Batch Code ...
    (microsoft.public.scripting.vbscript)