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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to