lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Wunderlich" <>
Subject RE: Lucene on Windows
Date Wed, 08 Mar 2006 19:16:11 GMT

My /jre/lib folder doesn't have a ext folder.
I added the .jar files to the classpath.
Still no luck. I've been trying to finish what someone else started.

I'm now trying to setup Lucene on another machine running winxp.
Java -version 1.5.0_06
Download & unzipped 1.9.1 to c:\lucene
C:\lucene>set classpath

I get the following message(s):
C:\lucene>java build/index c:\lucene
Exception in thread "main" java.lang.NoClassDefFoundError: build/index

C:\lucene>java lia.meetlucene.Indexer build/index /lucene
Exception in thread "main" java.lang.NoClassDefFoundError:

Quote from page 14 of LIA.
Note: If you're running this application on a Windows platform command
shell, you need to adjust the command line's directory and path
separators. The Windows command line is java build/index c:\lucene



-----Original Message-----
From: D.Saravanaraj [] 
Sent: Wednesday, March 08, 2006 11:42 AM
Subject: Re: Lucene on Windows

try putting the jar files in the jre/lib/ext folder of the jre used by
try adding the path of the jar files like

to the classpath in the environmental variables.

On 3/8/06, Charles Wunderlich <> wrote:
> I'm trying to implement Lucene and I'm having problems with the
> installation. Please help.
> I have windows 2003 server.
> Installed Java (c:\jdk1.3.1_17)
> Unzipped to d:\lucene
> Copied lucene-1.4.3.jar and lucene-demos-1.4.3.jar to
> I try to run the indexer from the command line (as shown on page 14 of
> Lucene in action) but I don't get a response back.
> Java build/index d:\lucene

View raw message