Re: net.grinder.console error
rits <ritu.dodrajka-/[email protected]>
| Newsgroups | gmane.comp.java.grinder.devel |
|---|---|
| Message-ID | <[email protected]> |
Morel, Pierre wrote: > > Hello, > > > > I am new to The Grinder and need some help to get started. > > > > (In my Windows 7 machine) I have setup a demo directory underneath > grinder-3.4 in my windows box and in the lib directory where grider.jar > resides, I am trying to run the following cmd: > > C:\grinder-3.4\lib>java net.grinder.Console > > Exception in thread "main" java.lang.NoClassDefFoundError: > net/grinder/Console > > Caused by: java.lang.ClassNotFoundException: net.grinder.Console > > at java.net.URLClassLoader$1.run(Unknown Source) > > at java.security.AccessController.doPrivileged(Native Method) > > at java.net.URLClassLoader.findClass(Unknown Source) > > at java.lang.ClassLoader.loadClass(Unknown Source) > > at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > > at java.lang.ClassLoader.loadClass(Unknown Source) > > at java.lang.ClassLoader.loadClassInternal(Unknown Source) > > Could not find the main class: net.grinder.Console. Program will exit. > > > > In the same demo directory I have the essential files suggested by the > grinder web site: > > setGrinderEnv.cmd, startAgent.cmd, etc. > > > > I have also set CLASSPATH using: c:\grinder-3.4\lib\grinder.jar or > should it be: c:\grinder-3.4\lib ? > > > > Would you know why I am getting the error above? > > Thanks in advance for your help. > > Hi Pierre > > Instead of using that command use java -cp "C:\Grinder\lib\grinder.jar" > net.grinder.Console > > in setGrinderEnv.cmd give > set GRINDERPATH=C:\Grinder > set GRINDERPROPERTIES=C:\Grinder\grinder.properties > set CLASSPATH=%GRINDERPATH%\lib\grinder.jar;%CLASSPATH% > PATH=%JAVA_HOME%\bin;%PATH% > > in grinderconsole.cmv set the following > call C:\Grinder\setGrinderEnv.cmd > java -cp "%CLASSPATH%" net.grinder.Console > > in grinderagent.cmv set the following > call C:\Grinder\setGrinderEnv.cmd > echo %CLASSPATH% > java -cp "%CLASSPATH%" net.grinder.Grinder %GRINDERPROPERTIES% > > > > > ------------------------------------------------------------------------------ > What happens now with your Lotus Notes apps - do you make another costly > upgrade, or settle for being marooned without product support? Time to > move > off Lotus Notes and onto the cloud with Force.com, apps are easier to > build, > use, and manage than apps on traditional platforms. Sign up for the Lotus > Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d > _______________________________________________ > Grinder-development mailing list > Grinder-development-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/grinder-development > > -- View this message in context: http://old.nabble.com/net.grinder.console-error-tp30397278p30562343.html Sent from the Grinder - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl