Search code examples
javajmeterwindows-10

Unable to see the Executable JAR File in the apache JMeter bin folder


Following this YouTube tutorial,

  • I have downloaded the Apache JMeter 5.6.2, extracted in the downloads folder.
  • Placed that extracted folder in the C drive - Program Files directory.
  • Opened to bin folder > I cannot see the executable Jar File as shown in the video to open the J Meter. Youtube Video Screenshot

But I can see the Jar file named as Apache J Meter, it is not showing the Java SE environment option to open the application:

enter image description here

The ApacheJMeter file icon also showing as winrar symbol for me but in the video it is shown as Java application logo.

How to resolve this issue and install the ApacheJMeter perfectly in Windows System?


Solution

  • It looks like an issue with your Windows file associations. The ApacheJMeter.jar file is there but your operating system considers it as an archive and it makes sense because .jar files are basically .zip archives.

    Anyway you're not supposed to launch ApacheJMeter.jar file directly, you should use jmeter.bat wrapper script because it does some checks and sets some parameters which are necessary to properly initialize and run JMeter.

    enter image description here

    In general I would recommend following official JMeter documentation which states:

    To run JMeter, run the jmeter.bat (for Windows) or jmeter (for Unix) file. These files are found in the bin directory.

    If you need a little more detailed instructions check out JMeter Installation: How to Get Started article