Wednesday, January 30, 2013

Jmeter Starting Problem





Jmeter – Common Issue


While accessing Jmeter many people would have come across the below mentioned issue

“Java. exe is not recognized as an internal or external command, operable [program or batch file.
Errorlevel=9009
Press any key to continue…”





 Basically this error message will occur due to two reasons
1.       When Java is not present in the system or
2.       When the Java path is not correctly set for the Jmeter application to access



                           



The solution for the above problem is given in the below steps

·         Download Java from http://www.java.com/en/download/
·         Install the Java
·         Get the path in which java is installed or present within your system eg: “C:\Program Files (x86)\Java\jre7\bin
·         If you already have java in your machine then the problem is due to the fact that the path is not set correctly
·         Right click on “My Computer” in your machine and navigate to its properties
·         Click on “Advanced settings” in the left pane



·         Click on the “Environment variables” button from the popup

                          

·         We need to add an entry in the system variables with the variable value as “Path” and the value as the java path e.g.:“C:\Program Files (x86)\Java\jre7\bin” and then save




Save the settings and now the Java path is set.

We will be able to access the Jmeter application without any problem.

2 comments: