Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-User

Unable to set up CLASSPATH

 

 

Lucene java-user RSS feed   Index | Next | Previous | View Threaded


ychouloute at rci-together

Jul 12, 2007, 7:36 AM

Post #1 of 2 (1053 views)
Permalink
Unable to set up CLASSPATH

I am trying to get Lucene installed on a redhat server but I have having
issues setting up the classpath
Here are my steps:

I downloaded the zip files from the lucene web site

I extracted them to a folder titled : /var/www/html/lucene

I ran "ant war-demo" which was able to create a build directory with the
jar files (demo and core) inside even though I got a couple errors like
clover not found and several warnings but it did say that the build was
successfull and it did generate the jar files.


On the tutorial (http://lucene.apache.org/java/docs/demo.html) it says
"Put both of these files in your Java CLASSPATH."

Now when I run:
Javac -classpath /var/www/html/lucene/build/....jar


ychouloute at rci-together

Jul 12, 2007, 10:21 AM

Post #2 of 2 (1010 views)
Permalink
RE: Unable to set up CLASSPATH [In reply to]

I am trying to get Lucene installed on a redhat server but I have having
issues setting up the classpath
Here are my steps:

I downloaded the zip files from the lucene web site

I extracted them to a folder titled : /var/www/html/lucene

I ran "ant war-demo" which was able to create a build directory with the
jar files (demo and core) inside even though I got a couple errors like
clover not found and several warnings but it did say that the build was
successfull and it did generate the jar files.


On the tutorial (http://lucene.apache.org/java/docs/demo.html) it says
"Put both of these files in your Java CLASSPATH."

Now when I run:
Javac -classpath /var/www/html/lucene/build/....jar

It is not working... Any good tutorial other than the one lucene
provides







---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
For additional commands, e-mail: java-user-help [at] lucene

Lucene java-user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.