Vineeth,
firstly, avoid spaces and special characters at any Java related
product installation folder, it may lead to some mysterious problems. Now,
if you need to run java -jar ... using that specific jre version, use the
complete path to that java.exe jre version. Like this (from prompt): "
C:\Program Files\Java\jdk1.6.0_02\jre\java.exe" -jar ...
This is one of the ways to do it (the one I could remember).
Hope this helps you.
Flávio Cysne
2011/12/20 vineeth <[email protected]>
> Hi ALL
>
> How can we instruct JMeter to use a particular JRE (JRE within the JDK)?
>
> We have Java installed in : C:\Program Files\Java\jdk1.6.0_02
>
> JMeter currently uses: C:\Program Files\Java\jre1.6.0_02 (As seen from
> JConsole)
>
> How to change setting to instruct JMeter to use: C:\Program
> Files\Java\jdk1.6.0_02\jre
>
> regards,
> VS
>
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/JRE-used-by-Jmeter-tp5088430p5088430.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>