can you please do the following
check that lcp.bat exists in the directory where you installed JMeter into
and that it looks ok, maybe mail to the group. It looks like it is not
working correctly as your classpath is not set correctly.

Regards
Scott

-----Original Message-----
From: Bob Low Kuan Loong/HONOC/PBB/PBBG
[mailto:[EMAIL PROTECTED]]
Sent: Friday, November 16, 2001 4:47 AM
To: [EMAIL PROTECTED]
Subject: Newbie Question: Can't get JMeter to start


Hi,

I just downloaded JMeter 1.7b but can't get it to launch.

What I've done:

- installed JRE Ver 1.3.1 from java.sun.com
- unzipped JMeter
- edited jmeter.bat to correct CR/LF. It now looks like this:

@echo on
set PROP=jmeter.properties
set LOG4JCONFIG=log4j.configuration=log4j.conf
set HOST=
set PORT=
IF "%1" == "-f" set PROP=%2
IF "%1" == "-h" set HOST=-Dhttp.proxyHost=%2 -Dhttps.proxyHost=%2
IF "%1" == "-p" set PORT=-Dhttp.proxyPort=%2 -Dhttps.proxyPort=%2
IF "%3" == "-f" set PROP=%4
IF "%3" == "-h" set HOST=-Dhttp.proxyHost=%4 -Dhttps.proxyHost=%4
IF "%3" == "-p" set PORT=-Dhttp.proxyPort=%4 -Dhttps.proxyPort=%4
IF "%5" == "-f" set PROP=%6
IF "%5" == "-h" set HOST=-Dhttp.proxyHost=%6 -Dhttps.proxyHost=%6
IF "%5" == "-p" set PORT=-Dhttp.proxyPort=%6 -Dhttps.proxyPort=%6

set LOCALCLASSPATH=%CLASSPATH%

for %%i in ("..\lib\*.jar") do CALL ..\lcp %%i
for %%i in ("..\ext\*.jar") do CALL ..\lcp %%i


java -cp %LOCALCLASSPATH%;ApacheJMeter.jar -D%LOG4JCONFIG% %HOST% %PORT%
org.apache.jmeter.NewDriver %PROP%


- when running jmeter.bat, I get :

C:\ApacheJMeter_1.7Beta\jakarta-jmeter\bin>java -cp ;ApacheJMeter.jar -D
org.apache.jmeter.NewDriver jmeter.properties
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/log4j/Category
        at org.apache.jmeter.util.ClassFinder.<clinit>(ClassFinder.java:161)
        at org.apache.jmeter.gui.action.AddToTree.<init>(AddToTree.java:82)
        at
org.apache.jmeter.gui.action.ActionRouter.<clinit>(ActionRouter.java:78)
        at org.apache.jmeter.NewDriver.main(NewDriver.java:89)

According to the installation guide, I'm not to file a bug report for
missing class implementations. I'm very new to Java as a whole, so I don't
know
what to do.

I've read all the archives/FAQ (empty)/info(empty), but have not found a
solution.

Please assist. TIA.

--
Bob


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

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

Reply via email to