954,545 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Need to add "java.xml.*" library

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

alpha_gamma
Newbie Poster
4 posts since Jun 2007
Reputation Points: 10
Solved Threads: 0
 

> 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.

~s.o.s~
Failure as a human
Administrator
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 734
 
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.

Ezzaral
Posting Genius
Moderator
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You