lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew C. Oliver" <>
Subject Re: cannot get demo working
Date Tue, 16 Apr 2002 15:57:25 GMT
Christoph Kukulies wrote:

>This might be a classpath problem or a file naming problem.
>I cannot get the lucene demo working.
>I have CLASSPATH=.;c:\jdk1.3.1_01;c:\jdk1.3.1_01\lib 
>and put both, lucene-1.2-rc4.jar  lucene-demos-1_2-rc4.jar into 
>but I always get 
>C:\lucene-1.2>java org.apache.lucene.demo.IndexFiles  <path>
>Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/lucene/dem
>I even tried with -cp "lucene-1.2-rc4.jar;lucene-demos-1_2-rc4.jar" ...
>to no avail.
>Any clues?
You must reference them directly in the classpath. 

Jar files are not picked up by directory references.  Anyhow this is 
getting a bit off topic.  More of a general java use question.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message