[NEWBIE] Xerces/SAX configuration problems

I

I Hate Sheep

Hello all. Really stupid newbie question, so thanks in advance to
anyone who can take the time to help me out.
I'm planning to write some software using XML as a basic document
format. I'm working under a Windows platform here. I've downloaded
version 2.7.1 of Xerces, and have unzipped it to C:\xerces-2_7_1\. I've
added all the jar files to my path, and am now trying to compile and
execute some of the sample code provided with the Xerces distribution.
The code compiles without any complaints, but when I try to execute it,
it returns a java.lang.ClassNotFoundException referencing
org.apache.xerces.parser.SAXParser.
I know I've done something stupidly obviously wrong here, but I can't
figure out what. Any enlightenment would be gratefully received.

Cheers.
 
P

pp

Hi Sheephater,

put the xercesImpl.jar and the xml-apis.jar in
%JAVA_HOME%/jre/lib/ext
and try again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,001
Messages
2,570,250
Members
46,848
Latest member
Graciela Mitchell

Latest Threads

Top