Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
174 views
in Performance Testing by
recategorized by
When I try to open JMETER it throws a exception in Command prompt. I could not capture exact error as it opens and closes.Can you please let me know about the steps to set path JAVA_HOME etc.

1 Answer

0 like 0 dislike
by
selected by
 
Best answer

Find JDK Installation Directory

First you need to know the installation path for the Java Development Kit.

Open the default installation path for the JDK:

C:\Program Files\Java

There should be a subdirectory like:

C:\Program Files\Java\jdk1.6.0_10

Set the JAVA_HOME Variable

Once you have the JDK installation path:

    1. Right-click the My Computer icon on your desktop and select Properties.
    2. Click the Advanced tab, then click the Environment Variables button.
    3. Under System Variables, click New.
    4. Enter the variable name as JAVA_HOME.
    5. Enter the variable value as the installation path for the Java Development Kit.
    6. Click OK.
    7. Click Apply Changes.

You might need to restart Windows.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

...