my dog learned polymorphism*
The moose likes XML and Related Technologies and the fly likes JDOM and JBuilder3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "JDOM and JBuilder3" Watch "JDOM and JBuilder3" New topic
Author

JDOM and JBuilder3

Raul Quintero
Greenhorn

Joined: Feb 18, 2000
Posts: 7
Can anyone explain to me the process of adding the JDOM files to a project using JBuilder 3? I want to add it using a library. Here is what I did.
On my existing project, I added a libray called JDOM using the project/properties menu option. For classpath and sourcepath, I used "C:\jdom\src" as the paths. I then import the "java.org.jdom.Element;"
When I work on a file, I can import the files, and JBuilder finds them without any problem, but it won't compile. I get this error:
"cannot access class java.org.jdom.Element; neither class nor source found for java.org.jdom.Element"
Any help would be appreciated.
Cynthia Yao
Ranch Hand

Joined: Nov 06, 2000
Posts: 92
in JBuilder, under project \ project property - paths - required library. You can create a new library, which point to you jdom.jar. Add that library to your project required library. At compile, please check that jar file is included.
I think that will solve u problem
Raul Quintero
Greenhorn

Joined: Feb 18, 2000
Posts: 7
Got it, thanks. My .jar file was corrupted.
Thanks again!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDOM and JBuilder3
 
Similar Threads
Need help in replacing a node value
javax.servlet.Servlet with JBuilder
how to include package in another package in jBuilder
Java Debugging
Jbuilder and Notepad