cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trevor Turton" <>
Subject Cocoon build fails under Windows 98SE
Date Tue, 03 Aug 2004 09:01:53 GMT

I downloaded Cocoon onto Windows 98SE with j2sdk1.4.1_01 installed
and ran the Cocoon build.bat, with results as shown in the console log
appended.  Build expects to find tools.jar in %JAVA_HOME%\JRE\lib\, but
it's actually in %JAVA_HOME%\lib\.  I tried copying all jars from lib into
JRE\lib and the build got a bit further and then failed.  The console log
includes an echo of %JAVA_HOME% and a dir of %JAVA_HOME%\lib\tools.jar to
show what's there.

Trevor Turton

Bad command or file name
Bad command or file name
Bad command or file name
Bad command or file name
Bad command or file name

Syntax error
Unable to locate tools.jar. Expected to find it in
Buildfile: build.xml

                 Apache Cocoon [1999-2004]
 Building with Apache Ant version 1.6.1 compiled on February 12 2004
 Using build file D:\Downloads\Java\Cocoon\cocoon-\build.xml
 Compiler options:
   - debug ......... [on]
   - optimize ...... [on]
   - deprecation ... [off]

Compiling 1 source file to

Unable to find a javac compiler; is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK

Total time: 5 seconds

D:\Downloads\Java\Cocoon\cocoon->echo %JAVA_HOME%

D:\Downloads\Java\Cocoon\cocoon->dir %JAVA_HOME%\lib\tools.jar

 Volume in drive D is DATA
 Volume Serial Number is 401A-DD91
 Directory of D:\Java\j2sdk1.4.1_01\lib

TOOLS    JAR     4,926,685  04-26-04  4:14p tools.jar
         1 file(s)      4,926,685 bytes
         0 dir(s)        4,601.28 MB free

The information transmitted in this e-mail is intended only for the person or entity to which
it is addressed and may contain confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon this information by
persons or entities other than the intended recipient is prohibited. If you received this
in error, please contact the sender and delete the material from your computer.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message