Build error

2001-04-26 Thread Shih Chin Yang

Hi!
I just downloaded Tomcat 3.2.1 source, then followed the README to
build, unfortunately I got the following error message

BUILD FAILED

/usr/local/shih/jakarta/jakarta-tomcat/build.xml:94: Cannot use classic
compiler, as it is not available A common solution is to set the
environment variable JAVA_HOME
to your jdk directory.

I was sure that JAVA_HOME has been set to my jdk1.3.0_02 directory, and
I ran javac from command line without any problems, could someone
help me? Also, it seems Jakarta-ServletAPI subject no longer exists, is
it still required for building Tomcat?

Your help would be much appreciated,
Shih-Chin




Re: Build error

2001-04-26 Thread Shih Chin Yang

Barbara:

Thanks for your response, actually I did what you said,
echo $JAVA_HOME gave me
/usr/java/jdk1.3.0_02 , which is where I installed JDK

Shih-Chin

Barbara Baughman wrote:

> The fact that javac runs may only mean you have the jdk directory in your
> PATH environment variable.  If you are on unix, use the command
> echo $JAVA_HOME
> to see its definition.  I think the JAVA_HOME environment variable is not
> used by jdk at all.
>
> Barbara Baughman
>
> On Thu, 26 Apr 2001, Shih Chin Yang wrote:
>
> > Hi!
> > I just downloaded Tomcat 3.2.1 source, then followed the README to
> > build, unfortunately I got the following error message
> >
> > BUILD FAILED
> >
> > /usr/local/shih/jakarta/jakarta-tomcat/build.xml:94: Cannot use classic
> > compiler, as it is not available A common solution is to set the
> > environment variable JAVA_HOME
> > to your jdk directory.
> >
> > I was sure that JAVA_HOME has been set to my jdk1.3.0_02 directory, and
> > I ran javac from command line without any problems, could someone
> > help me? Also, it seems Jakarta-ServletAPI subject no longer exists, is
> > it still required for building Tomcat?
> >
> > Your help would be much appreciated,
> > Shih-Chin
> >
> >