Hi Materna: Thanks for your help. I created the build.properties file and that did not fix the problem. Turns out my JAVA_HOME env variable was pointing to a version that was not 'native_threads' enabled. I looked around and found one that was and could compile successfully.
Thanks again. Nita ------------------- > 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:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
