Appendix A. Installing Lucene
The Java version of Lucene is just another JAR file, less than 1 MB in size. Using Lucene’s API in your code requires only this single JAR file on your build and runtime classpath; it has no dependencies. This appendix provides the specifics of where to obtain Lucene, how to work with the distribution contents, and how to build Lucene directly from its source code. If you’re using a port of Lucene in a language other than Java, refer to chapter 10 and the documentation provided with the port. If you’re using a contrib module, chapter 8 describes how they’re built. This appendix covers the core library of the Java version only.
To obtain the binary distribution of Lucene, follow these steps:
1. Download the latest binary Lucene release from the download area of the Apache Lucene website: http://lucene.apache.org/java. As of this writing, the latest version is 3.0.1; the subsequent steps assume this version. Download either the .zip or .tar.gz file, whichever format is more convenient for your environment.