Hi, I have a project that involve Lucene.
Currently I,
1) downloaded  Lucene-2.4.1. into my CentOS 4.7 box.
2) succesfullly downloaded java, version 6.
3) successfully completed setting CLASSPATH

as I ran the command : java org.apache.lucene.demo.SearchFiles

I get an error saying:
Exception in thread :main: java.lang.NoClassDefFoundError:
org/apache/lucene/demo/SearchFiles
Caused by: java.lang.ClassNotFoundException:
org.apache.lucene.demo.SearchFiles
                  at java.net.URLClassLoader$1.run(Unknown Source)
                  at java.security.AccessController.doPrivileged(Native
Method)
ect.
Could not find the main class. org.apache.lucene.demo.SearchFiles.  Program
will exit.


Thank you,
Nga P.

note: I think I am in your mailing list

Reply via email to