tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Kientzle <kient...@acm.org>
Subject Re: Tomcat / FreeBSD / build.sh probs
Date Wed, 19 Jul 2000 02:39:17 GMT
The 'build.sh' script uses the 'ant' build tool, which
lives in 'ant.jar'.  You'll need to add 'ant.jar'
to your classpath.  If you don't have ant.jar,
you'll need to download the distribution for ant.

Your classpath will then look something like:

/usr/local/jdk1.1.8/lib/classes.zip:/path/to/ant.jar

This will, of course, grow as you find other libraries
that must be included.  (For example, you'll soon need the
'servlet.jar', 'jaxp.jar', and 'parser.jar' libraries.
The first is a Jakarta project, the other two
are from Sun's JAXP XML parser.)

The good news:  You're on the right track.

				- Tim

Patrick Price wrote:
> 
> Trying again with tomcat / FreeBSD 3.4:
> 
> #./build.sh
> Unable to initialize threads: cannot find class java/lang/Thread
> 
> Then:
> 
> #setenv CLASSPATH /usr/local/jdk1.1.8/lib/classes.zip
> 
> Then:
> 
> #./build.sh
> Can't find class org.apache.tools.ant.Main
> 
> Patrick Price
> Momentum Online

Mime
View raw message