943,845 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 561
  • Java RSS
Jan 11th, 2009
0

Need to add "java.xml.*" library

Expand Post »
Hello,

I tried to run a probram from the book "Big Java" by Cay Hortsman that parses an XML document. I typed in the line in Eclipse and it gave me a red box error message saying "the import java.xml can not be resolved". This tels me that i do not have the library to import.

What I would like to know is how i can add this library so i can use it on any IDE and also use it with command line compiling.

Also i would like to know how i can get the org.* library as well. Any help is appreciated.....

Rgds,

Andrew
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
alpha_gamma is offline Offline
4 posts
since Jun 2007
Jan 11th, 2009
0

Re: Need to add "java.xml.*" library

> Eclipse and it gave me a red box error message saying "the import
> java.xml can not be resolved"

...because a package by the name java.xml.* doesn't exist; it's javax.xml.*
Refer the Javadocs for more details.
Super Moderator
Featured Poster
Reputation Points: 3233
Solved Threads: 719
Failure as a human
~s.o.s~ is offline Offline
8,871 posts
since Jun 2006
Jan 12th, 2009
0

Re: Need to add "java.xml.*" library

Also i would like to know how i can get the org.* library as well. Any help is appreciated.....
Um, I think you are going to have a hard time finding the "org.*" library - that could encompass thousands of projects.
Moderator
Featured Poster
Reputation Points: 3239
Solved Threads: 839
Posting Genius
Ezzaral is offline Offline
6,761 posts
since May 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: how to add swf file as JButton
Next Thread in Java Forum Timeline: help!





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC