My guess is that the correct version of java is not being picked up by
the script file.

Make sure you have the sun version.

Then edit the batch file so that the line which invokes java has the
absolute path to the sun jvm (which lives in the bin directory under the
java installation).

Cheers

AJ

On Tue, 2007-01-16 at 12:33 +0000, sebb wrote:

> On 16/01/07, Raghavendra Kristam <[EMAIL PROTECTED]> wrote:
> >
> > Yes, jmeter is available in bin directory.
> >
> > I Installed jakarta-tomcat-5.0.30, jdk1.5.0_08 and
> 
> Which provider of Java?
> 
> > jakarta-jmeter-2.2.
> >
> > Tomcat server is running fine.
> >
> > On Windows system jmeter is working fine when I
> > clicked jmeter.bat. When I run the jmeter shell script
> > getting following errors.
> >
> > # sh jmeter
> > Warning: -server not understood. Ignoring.
> > Warning: -Xms256m not understood. Ignoring.
> > Warning: -Xmx256m not understood. Ignoring.
> > Warning: -XX:NewSize=128m not understood. Ignoring.
> > Warning: -XX:MaxNewSize=128m not understood. Ignoring.
> > Warning: -XX:MaxTenuringThreshold=2 not understood.
> > Ignoring.
> > Warning: -XX:PermSize=64m not understood. Ignoring.
> > Warning: -XX:MaxPermSize=64m not understood. Ignoring.
> 
> The above are because -X flags are not standard - just comment out in
> the shell script
> 
> > Warning: -jar not understood. Ignoring.
> 
> This is a serious problem - if your version of Java does not
> understand the -jar flag then it is not a standard version of java.
> 
> If this problem still persists after you have eliminated the -X
> warnings, then you will need a different version of Java.
> 
> > Exception in thread "main"
> > java.lang.NoClassDefFoundError: ..ApacheJMeter.jar
> 
> That's because the -jar flag is not recognised.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

www.cubicalland.com
www.nerds-central.blogspot.com



Reply via email to