Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

JDOM and JBuilder3  RSS feed

 
Greenhorn
Posts: 7
  • 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.
 
Ranch Hand
Posts: 92
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got it, thanks. My .jar file was corrupted.
Thanks again!
 
Bring out your dead! Or a tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!