lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: TR : -- Lucene, error when indexing demo !
Date Tue, 31 Aug 2004 12:30:10 GMT
JPhD, you have to add the _JAR_ (lucene-1.4.1-final.jar probably) to
your CLASSPATH.  You may also have to add the demo Jar to the
CLASSPATH.

Otis

--- "J.Ph DEGLETAGNE" <jph.degletagne@cosi-consulting.com> wrote:

> Hello everybody,
>  
> I want test lucene,
>  
> My configuration : Windows XP...
>  
> First, I have extracted the latest Lucene distribution in
> D:\Program Files\Apache Software Foundation to get 
> D:\Program Files\Apache Software Foundation\lucene-1.4-final
> D:\Program Files\Apache Software Foundation\lucene-1.4-final\docs
> D:\Program Files\Apache Software Foundation\lucene-1.4-final\src
> so demo is in
> D:\Program Files\Apache Software Foundation\lucene-1.4-final\src\demo
>  
> and I set my classpath like this
> classpath="D:\Program Files\Apache Software
> Foundation\lucene-1.4-final;D:\Program Files\Apache Software
> Foundation\lucene-demos-1.4-final"
>  
> Second, for indexing files, I type :
> java org.apache.lucene.demo.IndexFiles "D:/Program Files/Apache
> Software
> Foundation/lucene-1.4-final/src"
> or
> java org.apache.lucene.demo.IndexFiles "D:\Program Files\Apache
> Software
> Foundation\lucene-1.4-final\src"
> and I got :
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/lucene/demo/IndexFiles
>  
> Where is my error ?
>  
> Thank's a lot !
>  
> JPhD
>  
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message