[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding classes to Jbuider 7



Hello.

I am trying to user Xerces XML parsing in my code I'm writing with
JBuilder.  But it seems to not be able to find the Xerces pacakge.  I
have the package in /opt/java/lib/xerces.jar and If I co into configure
libraries I see it listed since I added it.

If I do a jar -tvf on the jar I see:



[cfowler@javaDevel tmp]$ jar -tvf xerces.jar  | grep DOMPar
 34789 Mon Nov 27 15:57:58 EST 2000
org/apache/xerces/parsers/DOMParser.class

But When I try to compile the code I get this message in Jbuilder:

"MachineConfig.java": Error #: 302 : cannot access class
org.apache.xerces.parsers.DOMParser; java.io.IOException: class not
found: class org.apache.xerces.parsers.DOMParser at line 15, column 34

How can I configure JBuilder to see this class or is this something
limited in the Personal version and not SE?

I';m not at the point where I'm trying to determine which parser to
use.  I'm torn between DOM and SAX.  I have 1000 lines of XML and I want
to make it as easy as possible.

Thanks,
Chris

Thanks,
Chris