In Windows, you can create a shortcut, then edit the shortcut properties to 
change the program being called.

I set my 'Target' (in the shortcut) to: C:\Windows\System32\javaw.exe -Xms512m 
-Xmx1g -XX:NewSize=256m -XX:MaxNewSize=512m
-XX:PermSize=128m -XX:MaxPermSize=256m  -jar "ApacheJMeter.jar"

This allows you to set the JVM memory config, and start JMeter without any 
command window.

Also, you want to set the 'Start in:' location to match the JMeter 'bin' 
directory.

That being said, the command window is sometimes helpful - especially when your 
test plan has a bug in it. Since the errors get
reported in the console window.

--
Robin D. Wilson
Sr. Director of Web Development
KingsIsle Entertainment, Inc.
VOICE: 512-777-1861
www.KingsIsle.com


-----Original Message-----
From: sebb [mailto:[email protected]] 
Sent: Wednesday, March 21, 2012 5:02 AM
To: JMeter Users List
Subject: Re: Avoiding cmdprompt popup when starting JMeter?

You can also try jmeterw.bat - that produces a console window, but it
disappears very quickly.

Note that there are some circumstances where JMeter cannot write
errors to the log file and has to use the console.
[e.g. log directory is not writable, no disk space. There are probably
some other conditions that prevent a log record being written]
Such errors will be lost if there is no console.

On 21 March 2012 07:02, Erik Pragt <[email protected]> wrote:
> Hi Ben,
>
> I always click on the Jmeter jar file instead. Wouldn't that work for you?
>
> Erik Pragt
>
>
>
> On 21 mrt. 2012, at 07:02, "Ben Stover" <[email protected]> wrote:
>
>> When I start JMeter by double clicking on jmeter.bat then (under Win7) the 
>> (black) well known
>> command prompt  appears at first before the actual GUI shows up.
>>
>> Is there a way to avoid the popup of the command prompt?
>>
>> Ben
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to