[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding classes to Jbuider 7
It worked. I added the library to JBuilde config then added it to the
project.
In regards to Jar Files:
I need to place the xerces.jar class files into the jar file for my
appliaction.
Can I place a jar within a jar or do I need to unjar it and placee the
classes into the app jar?
Thanks,
Chris
On Wed, 2002-10-09 at 19:00, Vikas Varma wrote:
> In Jbuilder, you have to create a library path.
> Please follow these steps..
>
> Click on the Project/Project Properties menu.
> Click the Required Libraries tab
> Click Add
> Click New
> Define the new Library add the library path
> And add the Library in your project.
>
> This should do the trick.
>
> Hope this works for you ..
>
> Regards,
> --Vikas
>
> ----- Original Message -----
> From: "cfowler" <cfowler@outpostsentinel.com>
> To: <ajug-members@ajug.org>
> Sent: Wednesday, October 09, 2002 4:42 PM
> Subject: 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
> >
>
>
>