This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
When I install java sdk on my pc, where do the class library files reside?
I'm trying to begin using a java library called lucene. Have downloaded the library but now unsure where it exactly goes. My simple program that expects to use classes from the lucene library shows many java errors in Eclipse such as; "field cannot be resolved to a variable" and "file cannot be resolved to a type" - so I suspect it is not finding the library.
When you download something your browser usually puts it in a downloaded map. Where that map resides is depended of what browser you use or what your settings are. After that you'll have to include the library on the classpath. Otherwise Java can't find it. You can read about the classpath in our faq: HowToSetTheClasspath.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.