Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jmeter Wiki" for change 
notification.

The "TestRecording210" page has been changed by JMeterAdmin:
https://wiki.apache.org/jmeter/TestRecording210

New page:
JMeter 2.10 use a new method for recording HTTPS requests when running under 
Java 7.

There have been some reports of problems starting the recorder, with errors 
such as the following:

{{{
ERROR - jmeter.protocol.http.proxy.ProxyControl: Could not initialise key store 
java.io.IOException: Cannot run program "keytool" (in directory 
"C:\apache-jmeter-2.10\bin"): CreateProcess error=2, The system cannot find the 
file specified
}}}

This means that the "keytool" application could not be found on the PATH.
Please ensure that the PATH includes the bin directory for the appropriate Java 
installation.

If this was not correctly set when Java was installed, it may be necessary to 
update the script that starts JMeter.

For example add the following to jmeter.bat (Windows)

{{{
set JAVA_HOME=<path to JDK>
rem for example
set JAVA_HOME=C:\jdk1.7.0_45

set PATH=%JAVA_HOME%\bin;%PATH%
}}}

Similarly for Unix, update the script "jmeter" or "jmeter.sh":

{{{
JAVA_HOME=<PATH TO JDK>  # for example JAVA_HOME=/usr/java170

export JAVA_HOME
PATH=$JAVA_HOME/bin;$PATH
export PATH
}}}

This should fix the problem.
However note that the path will almost certainly have to be changed if a new 
version of Java is installed, so ideally the system PATH should be set to 
include the correct location for Java.

Reply via email to