How can I solve this error when running JMeter:
[root@bx1 bin]#./jmeter.sh
java.lang.Throwable: Could not access /opt/apache-jmeter-2.6/lib/ext at org.apache.jmeter.NewDriver.(NewDriver.java:98)
java.lang.Throwable: Could not access /opt/apache-jmeter-2.6/lib/junit at org.apache.jmeter.NewDriver.(NewDriver.java:98)
java.lang.ClassNotFoundException: org.apache.jmeter.JMeter
at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) at org.apache.jmeter.NewDriver.main(NewDriver.java:212)
JMeter home directory was detected as: /opt/apache-jmeter-2.6
.
Your JMeter installation may be broken.
You can possibly try the following:
org.apache.jmeter.JMeter
should be in the file JMETER_HOME/lib/ext/ApacheJMeter_core.jar
. Check if this is there or not. Check that jar is not broken;$JAVA_HOME
is defined and points to actual JDK.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With