DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43063>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43063

           Summary: Exception in thread "main" while attempting to start
                    jmeter.bat
           Product: JMeter
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: Main
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


C:\Programs\Java\JAKART~1.3RC\bin > jmeter
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/jorphan/ut
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
        at java.lang.Class.getConstructor0(Unknown Source)
        at java.lang.Class.newInstance0(Unknown Source)
        at java.lang.Class.newInstance(Unknown Source)
        at org.apache.jmeter.NewDriver.main(NewDriver.java:181)

Wed 08/08/2007 13:38:37.20 Microsoft Windows XP [Version 5.1.2600]

This error occurred when I first installed JMeter (jakarta-jmeter-2.3RC3).  I
poked and prodded, did some reinstallation, tried different things, and suddenly
it worked, without my being able to explain why.  It worked for a couple of
days.  I made the mistake of hitting the "close" button on the DOS box JMeter
was running in, which also took down the GUI window I had test results displayed
in.  When I tried to run JMeter again, the error (above) had returned.  I've
reinstalled Java (JDK and JRE), and JMeter, and this problem won't go away.

The error message is **TOTALLY** meaningless:  What is failing?  Why?  I've got
more than 30 years of programming experience, and this stack dump leaves me
completely baffled!

Summary of what I've done:

brand new development system, Sony Vaio VGN-BX660P 1GB RAM Intel Core2 1.82GHz
installed WAMP 1.7.2
...
installed jdk-6u2-windows-i586-p.exe JDK 6 Update 2: jdk1.6.0_02, jre1.6.0_02
JAVA_HOME=C:\Programs\Java\jre1.6.0_02 (manually set: not done by any
installation programs; no spaces in path)

I tried to figure out what was meant in the "2.3 Installation" section of
http://jakarta.apache.org/jmeter/usermanual/get-started.html where it says
"simply unzip the zip/tar file into the directory where you want JMeter to be
installed" and first unzipped the archive into a temporary directory, then
copied the contents of the bin, etc. directories to the corresponding JRE ones
(since that's where I'd set JAVA_HOME to be).

Once I figured out where jmeter.bat was, I opened a DOS box in that directory
and tried running "jmeter" - which returned the error output illustrated at the
top of this bug report.  As indicated above, I tried hacking at the problem,
reinstalling stuff, rebooting, reinstalling more - and suddenly it started
working, for reasons unknown.

When the bug returned, I tried reinstalling Java, discovered there were at least
two copies on the machine, and deinstalled both Java and JMeter.  In doing the
reinstall, I put Java back in the same place I'd had it before, and unpacked
JMeter into a separate directory, so its files are no longer mixed in with the
JRE ones.  I'm still getting the same error, and cannot proceed with *ANY* 
testing.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to