lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaun Logue" <slo...@network365.com>
Subject Re: cannot get demo working
Date Tue, 16 Apr 2002 15:17:41 GMT
You need to point to the jar file itself e.g.
CLASSPATH=.;c:\jdk1.3.1_01;c:\jdk1.3.1_01\lib\lucene-1.2-rc4.jar;c:\jdk1.3.1
_01\lib\lucene-demos-1_2-rc4.jar
I think this should work




----- Original Message -----
From: "Christoph Kukulies" <kuku@gilberto.physik.rwth-aachen.de>
To: <lucene-user@jakarta.apache.org>
Sent: Tuesday, April 16, 2002 4:11 PM
Subject: cannot get demo working


> 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
> c:\jdk1.3.1_01\lib
>
> 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
> o/IndexFiles
>
> I even tried with -cp "lucene-1.2-rc4.jar;lucene-demos-1_2-rc4.jar" ...
> to no avail.
>
> Any clues?
>
> --
> Chris Christoph P. U. Kukulies kukulies@rwth-aachen.de
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:lucene-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:lucene-user-help@jakarta.apache.org>


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


Mime
View raw message