In general I always find myself digging around for missing stuff in .jar files. I
have a little bash script to which speeds up this process greatly. it should work on
all *nix platforms; as well as Intel platforms using cygwin or mkstoolkit.
---
Ok. I stand corrected.
I looked i my rt.jar and you where right it is there.
The thing is that I don't have rt.jar in my CLASSPATH and I don't have any
trouble to compile or run JMeter.
All I include i tools.jar, thats it.
I did a test to unset CLASSPATH and tried again and still no problem.
Henrik,
Since you asked to be corrected, Patrice's original error was
"NoClassDefFoundError java/lang/Object". In my Sun JRE 1.3.1_02 for
Windows installation, the java.lang.Object class is located in the
rt.jar file. So you do need the rt.jar included somehow/somewhere.
As for actually helpful
I don't think, thats a good idea.
CLASSPATH gets constructed in the lines before the java call (the script
appends the jmeter jars in the CLASSPATH)
Edgar
> -Original Message-
> Von: Mo, Jennifer [mailto:[EMAIL PROTECTED]]
> Betreff: RE: Couldn't find or load essentia
hether java can find
>> java.lang.Object. However, if those jars aren't where it expects, it
>> will fail.
>>
>> -Mike
>>
>> > -Original Message-----
>> > From: Patrice Le Cozler [mailto:[EMAIL PROTECTED]]
>> > Sent: Tuesday, April
> CLASSPATH to the same value as JAVA_HOME. if you look at the jmeter file
> it
> > references CLASSPATH. jmeter probably cannot find where you have your
> class
> > files stored.
> >
> > -Original Message-----
> > From: Patrice Le Cozler [mailto:[EMAIL PROTECTE
inal Message-
> > From: Patrice Le Cozler [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, April 02, 2002 10:50 AM
> > To: JMeter Users List
> > Subject: Re: Couldn't find or load essential class
> >
> >
> > CLASSPATH (one word)
> >
> > H
$JAVA_PROPS
-D$LOG4JCONFIG org.apache.jmeter.NewDriver $PROPERTIES
-Original Message-
From: Patrice Le Cozler [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 10:53 AM
To: JMeter Users List
Subject: Re: Couldn't find or load essential class
I've allready tried it but the probl
ly cannot find where you have your class
> files stored.
>
> -Original Message-
> From: Patrice Le Cozler [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 02, 2002 10:36 AM
> To: JMeter Users List
> Subject: Re: Couldn't find or load essential class
>
> my JA
to? you might also have to make
> >> some changes to the jmeter.bat file.
> >>
> >> -Original Message-
> >> From: Patrice Le Cozler [mailto:[EMAIL PROTECTED]]
> >> Sent: Tuesday, April 02, 2002 10:28 AM
> >> To: [EMAIL PROTECTED]
> >
ailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 10:36 AM
To: JMeter Users List
Subject: Re: Couldn't find or load essential class
my JAVA_HOME is set to /share/local/java/jdk1.2.2/
CLASS_PATH is unset and the JMeter script (unix version) is the default one
"Mo, Jennifer" wr
>> From: Patrice Le Cozler [mailto:[EMAIL PROTECTED]]
>> Sent: Tuesday, April 02, 2002 10:28 AM
>> To: [EMAIL PROTECTED]
>> Subject: Couldn't find or load essential class
>>
>> Hello,
>>
>> When I try to run JMeter, I get the following error :
>>
&
-Original Message-
> From: Patrice Le Cozler [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 02, 2002 10:28 AM
> To: [EMAIL PROTECTED]
> Subject: Couldn't find or load essential class
>
> Hello,
>
> When I try to run JMeter, I get the following error :
>
>
what is your JAVA_HOME and CLASSPATH set to? you might also have to make
some changes to the jmeter.bat file.
-Original Message-
From: Patrice Le Cozler [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 10:28 AM
To: [EMAIL PROTECTED]
Subject: Couldn't find or load essential
Hello,
When I try to run JMeter, I get the following error :
"Couldn't find or load essential class `java/lang/Object'
java.lang.NoClassDefFoundError java/lang/Object"
my JAVA_HOME var is set to the right directory, so what's wrong ?
thanks,
Patrice
--
To unsub
15 matches
Mail list logo