Hello marco,
Friday, August 31, 2001, 10:17:03 AM, you wrote:
m> Hello list,
m> please help,
m> when i try to build Cocoon i get the following ...
>> Apache Cocoon 2 Build System
>> ----------------------------
>> Warning: JAVA_HOME environment variable is not set.
>> If build fails because sun.* classes could not be found
>> you will need to set the JAVA_HOME environment variable
>> to the installation directory of java.
>> Buildfile: build.xml
>>
>> init:
>> ------------------- Apache Cocoon 2.0b2 [1999-2001] ----------------
>>
>> compile:
>> Compiling 265 source files to /usr/local/jakarta/Cocoon2/build/cocoon/classes
>>
>> Total time: 13 seconds
m> and JAVA_HOME is SET!!!
>>JAVA_HOME=/usr/lib/jdk1.3.1/
m> or is it probably an other problem, because the problem i solved
m> before was reformating the ant file to unix format.
i solved the Problem #-} (first think - then shout)
1. change in ./bin/ant 'classes.zip' to 'rt.jar' when you use jdk 1.3
2. use 'export JAVA_HOME=/path/to/java' instead of only
'JAVA_HOME=/path/to/java'
--
Best regards,
marco mailto:[EMAIL PROTECTED]
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>