Ranga, As Guillaume said in his note, you need to include each JAR file in your CLASSPATH -- it doesn't work simply to point CLASSPATH at a directory containing JARs. (It does work to point it at a directory containing classes.)
You might like to read the documentation at http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/classpath.html (Windows) http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/classpath.html (UNIX) John Hurst Wellington, New Zealand > -----Original Message----- > From: Ranga Nathan [mailto:[EMAIL PROTECTED] > Sent: Saturday, 5 November 2005 16:05 > To: [email protected] > Subject: Re: [servicemix-user] servicemix install - problems - help > appreciated > > Guillaume Nodet wrote: > > > You need to add the jars contained in the "lib/optional" directory to > > your classpath. > > You can just move the jars in the "lib/optional" directory to the > > "lib" directory if you prefer. > > > I did this. I still had the same problem. I then unzipped the jar files > which created subdirectories with the classes in them. I set the > CLASSPATH to the lib directory. I still have the same problem. I wonder > if the pre-requisites have been satisfied? My CLASSPATH had > /opt/servicemix/lib when I got this error. Would this work for > subdirectories within lib that contain the classes? Or do they need to > be enumerated? > Here is the error output. Thanks for the help. >
