ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barrie Treloar <Barrie.Trel...@camtech.com.au>
Subject Re: Extended Problem...
Date Wed, 23 Aug 2000 08:07:17 GMT
On Wed, 23 Aug 2000, John Clark L. Naldoza wrote:

> Exception in thread "main" java.lang.NoClassDefFoundError:
> sun/tools/javac/Main

Here is the problem.  You need to make sure that the
tools.jar/classes.zip file is included in your classpath.

Look at the ant sh file (or the ant.bat file).  It will automatically
find the file for you if you have JAVA_HOME set.  It should warn you
that this environment variable is not set and will cause the build to
fail with sun.* class not found errors.

Barrie
--
Barrie Treloar
____________________________________________________________________

  Barrie Treloar                      Phone: +61 8 8303 3300
  Senior Analyst/Programmer           Fax:   +61 8 8303 4403 
  Electronic Commerce Division        Email: barrie@camtech.com.au
  Camtech (SA) Pty Ltd                http://www.camtech.com.au
 --- Level 8, 10 Pulteney Street, Adelaide SA 5000, Australia. ---
____________________________________________________________________



Mime
View raw message