wood burning stoves*
The moose likes Beginning Java and the fly likes class library files - where are they? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "class library files - where are they?" Watch "class library files - where are they?" New topic
Author

class library files - where are they?

paul bentley
Greenhorn

Joined: Dec 22, 2010
Posts: 2
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.

Thanks for helping a newbie.
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

Hi and welcome to the JavaRanch.

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.
paul bentley
Greenhorn

Joined: Dec 22, 2010
Posts: 2
Thanks - that advce put me on the right track!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: class library files - where are they?
 
Similar Threads
Jasper Reports
Java files in tomcat
Classpath includes JAR file, so what's the problem?
Classic tag error
JSP page not displayed - javax.servlet.jsp.PageContext could not be resolved