You have to set your CLASSPATH environment variable to include xerces.jar and xercesSamples.jar.
- Right-click on "My Computer" and select "Properties" - Select the "Advanced" tab - Click on the "Environment Variables" button - In the lower half (system variables) either Edit or create a New variable named "CLASSPATH" - Add the full path of your xerces.jar file to the path...including the file name 'xerces.jar' Your CLASSPATH should look something like this: CLASSPATH="D:\work\jdk1.3\lib\xerces.jar;D:\work\jdk1.3\lib\xercesSamples.ja r" - Select "Ok" to save your settings - Open a new command prompt - Try to run your sample again Good luck! Brion Swanson -----Original Message----- From: Youngjoon Ryu [mailto:[EMAIL PROTECTED] Sent: Monday, August 20, 2001 12:19 PM To: Xerces maillng list Subject: Is this installation correct? hi. in win2k, I installed jdk at d:\work\jdk1.3 and xerces 2.0 beta at d:\work\xerces. after that, I copied xerces.jar and xercesSamples.jar to d:\work\jdk1.3\lib When I run xerces example, I got this Exception. d:\work\xerces> java sax.Counter data\personal.xml Exeption in thread "main" java.lang.NoClassDefFoundError: sax/Counter help me. thanks for your reading. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
