lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Materna, Wolf-Dietrich (empolis B)" <Wolf-Dietrich.Mate...@empolis.com>
Subject AW: Problem building Lucene
Date Thu, 21 Nov 2002 10:43:59 GMT
Hello,
> I downloaded the lucene source and have been trying to build using
> ant. I am getting the following error message:
> ----------------------------------------------------------------------
> -------------------------
> Buildfile: build.xml
> 
> init:
> 
> javacc_check:
> 
> compile:
>    [javacc] java was not found in
> /usr/local/apps/java/bin/sparc/native_threads/java
> 
> BUILD FAILED
> 
> /users/science/user/lucene/lucene-1.2-src/build.xml:96: java failed
> with return code 1
> ----------------------------------------------------------------------
> -------------------------
> 
> The JavaCC version is 2.1. Platform is Sun sparc solaris. JAVA_HOME
> env variable has been set to /usr/local/apps/java.
> Any help will be most appreciated.
It seems, that ant couldn't find your javacc. Write a configuration file 
for ant named build.properties. Put it to the basedir of your sources or
your home directory and add the following line:
----------------- snip ---------------------
java.home=/opt/lib/javacc2.1/bin
----------------- snip ---------------------
Please change the path to the directory where javacc lives.
You may also add the line "debug=on" to get more details if any error
occured.
Read the ant manual for further details.
Regards,
	Wolf-Dietrich Materna

--
To unsubscribe, e-mail:   <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>


Mime
View raw message