Re: "javaw.exe" does NOT prevent popup of black command prompt when starting GUI *.jar prgm
- From: Ulf Meinhardt <ulf2m@xxxxxxxxx>
- Date: Mon, 28 Dec 2009 12:18:06 +0100
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.
.
- Follow-Ups:
- References:
- Prev by Date: Re: Newest Java Update failed
- Next by Date: Re: "javaw.exe" does NOT prevent popup of black command prompt when starting GUI *.jar prgm
- Previous by thread: Re: "javaw.exe" does NOT prevent popup of black command prompt when starting GUI *.jar prgm
- Next by thread: Re: "javaw.exe" does NOT prevent popup of black command prompt when starting GUI *.jar prgm
- Index(es):
Relevant Pages
|