Hi, 

Looking in jmeter.sh, only one command is present: 

java $SERVER $JVM_ARGS -jar `dirname $0`/ApacheJMeter.jar "$@" 

Since the path to `java` is not specified, the first java executable found in 
$PATH will be used to execute JMeter. 

you can find out exactly which version of java this is by typing `java 
-version` on the command line. 

If you want to run a different version, you just need to specify the absolute 
path the the java program. you could modify jmeter.sh (or .bat if using 
windows) with something like: 

/usr/local/java-1.5.0/bin/java $SERVER $JVM_ARGS -jar `dirname 
$0`/ApacheJMeter.jar "$@" 


Regards, 
Noel 

----- "Ben Stover" <[email protected]> wrote: 
> Assume I have multiple Java installations on my computer. 
> 
> How does JMeter decide which Java installation it uses? 
> 
> How can I tell JMeter to use another installation? 
> 
> What is the minimum Java version required for JMeter v2.3.x ? 
> 
> Ben 
> 
> 
> 
> --------------------------------------------------------------------- 
> To unsubscribe, e-mail: [email protected] 
> For additional commands, e-mail: [email protected] 
> 
> 

Reply via email to