lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <>
Subject Re: lia demos without ant
Date Wed, 07 Sep 2005 23:57:48 GMT
Hi Gasi,

Please see page xxxii in LIA, section Author Online, and use that for
LIA questions, so we don't bother others with LIA-specific stuff.

However, your problem doesn't have to do so much with LIA, either. 
It's a basic Java question, and it looks like the part that you have
been misunderstanding is about what CLASSPATH is or how it is used.

When you run "java -classpath lucene-1.4.3.jar
lia.analysis.AnalyzerDemo", you are not compiling anything, you are
trying to run AnalyzerDemo class, in the lia.analysis java package.

Also, thar particular command assumes that file lucene-1.4.3.jar is in
your current directory, and based on your error, it looks like that's
not the case.

Here are some links that may be worth checking out:


--- Gasi <> wrote:

> Hallo,
> IBecause of less or better say no experience in Ant I try to run some
> demo applications out of the LuceneInAction Examples folder. For
> example I wanted to test I set the -classpath
> c:/LuceneInAction/lia/analysis because there is on
> my system. I tried to compile it with :
>  java -classpath lucene-1.4.3.jar lia.analysis.AnalyzerDemo but it
> failed. The error is NoClassDefError.
> Has somebody a hint why it fails
> Thanks in advance
> Greetings
> Gaston

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

View raw message