Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDOM and JBuilder3

 
Raul Quintero
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 92
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got it, thanks. My .jar file was corrupted.
Thanks again!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic