I'm getting the below exception while starting the Jmeter bat file,
java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: java/awt/HeadlessException
at org.apache.jmeter.JMeter.initializeProperties(JMet er.java:456)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.jmeter.NewDriver.main(NewDriver.java:18 3)
JMeter home directory was detected as: E:\jmeter2.3\jmeter2.3
I have following versions of products in the Windows XP system,
C:\Program Files\Java directory,
I have installed,
and i set the JAVA_HOME = C:\Program Files\Java\jdk1.6.0_06
but still i'm unable to start Jmeter.
My Jmeter version is: Jmeter2.3
Please help me out what are the other things i have to configure to run Jmeter.
Thanks in Advance,
Magesh Kumar Thangavel
Re: Setup Error
Are you sure your JAVA_HOME is set?
Open a command prompt window.
First see what your JAVA_HOME is by doing the following:
Next you need to see if the C:\Program Files\Java\jdk1.6.0_06\bin is in your PATH. The simpliest way is to do the following:
Or you can do the following:
Hope this helps.
Re: Setup Error
Thanks for your reply. i troubleshoot that problem and i got the solution,
Actually i have installed Oracle 9i in My PC. Its automatically installed Jdk1.2 in the configure directory and same has been set in Environmental variables list for Oracle reference. So if we install any higher version with Environmental set up of JAVA_HOME still Java will refer the oracle directory JDK1.2 only.
After removing the reference to JDK1.2 in the Environmental list for Oracle reference the problem got resolved.