lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doron Cohen <DOR...@il.ibm.com>
Subject Re: Problem in Running Lucene Demo
Date Mon, 19 Nov 2007 14:20:48 GMT
Try "java -verbose" to see more info on class loading.
Also try "java -classpath=yourClassPath" from command line.
Note that separators in the classpath may differ between operating
systems - e.g. ";" in Windows but ":" in Linux...

Doron

Liaqat Ali <liaqatalimian@gmail.com> wrote on 19/11/2007 15:43:30:

> Hi All,
>
> I m new to Lucene. I m facing problem while running the Lucene Demo to
> index lucene src code.   I download the 2.1.0 version of Lucene and
> extracted it binary to C:\lucene-2.1.0.
>
> I also set up the CLASSPATH to Lucene-Core and Lucene Demo Jar files.
> But when i execute the following command in command prompt
>
> c:\java org.apache.lucene.demo.IndexFiles c:\lucene-2.1.0\src
>
>
> I encounter the following error:
>
> Exception in Thread "main" java.lang.NoClassDefoundError:
> org.apache.lucene.demo
>
>
> I guess i m missing something in CLASSPATH setting. Kindly guide me in
> this Regard
>
> Liaqat Ali


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


Mime
View raw message