I'm pretty confident JMeter just doesn't work with JDK1.2. It's really happiest with jdk1.4, though, for most needs, you can get by with jdk1.3.
My suggestion would be to get JMeter sources and try to compile it with jdk1.2. Then start removing/changing things that won't compile. It's not pretty, but it's probably not overly difficult, and if it's your only option... -Mike On Wed, 2005-03-02 at 18:36 +0530, Puneet Malik wrote: > Hi, > I have tried this approach too but this error of "Unrecognized Option" > comes in for all the rows of setting parameters in jmeter.bat. If I > remove them all it gives me the following error. > Failed to load Main-Class manifest attribute from > ApacheJMeter.bat. > Sapphire unfortunately strictly requires jdk1.2.2_012 to run. > > Any other suggestions, as in can I set any command line arguments in > JMeter.bat file to make it load jdk1.4.1 jre > > Thanks, > Puneet > > -----Original Message----- > From: Peter Lin [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 02, 2005 6:26 PM > To: JMeter Users List > Subject: Re: Problem with running the JMeter. > > I've never used sapphire. your other option is to remove the > -XX:NewSize and see if that works, though other things might have > problems. Can you run sapphire with jdk1.3.1 or higher? > > that would probably be a better solution. > > peter > > > On Wed, 2 Mar 2005 14:33:23 +0530, Puneet Malik > <[EMAIL PROTECTED]> wrote: > > Hello All, > > > > I have j2sdk1.4.1_07 installed on my system and JMeter runs fine on > it. > > But when I install jdk1.2.2 (to run sapphire developer) and try to run > > JMeter it will not start. > > > > It gives following error: > > > > Unrecognized option: -XX:NewSize=128m > > > > Could not create the Java virtual machine. > > > > I have figured out that JMeter.bat will try to call java.exe from > > jdk1.2.2 directory instead from j2sdk1.4.1 directory. I have entries > > only for j2sdk1.4.1 in my path and classpath environmental variables > but > > JMeter still finds java 1.2.2 only. Even when I type java on cmd > prompt > > it will load 1.2.2 jre. Is there anyway I can point my jmeter to find > > 1.4.1 jre and run. > > > > Thanks, > > > > Puneet > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

