Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

class library files - where are they?

 
paul bentley
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2700
IntelliJ IDE Opera
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
paul bentley
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks - that advce put me on the right track!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic