David McInnis wrote:

> Can anyone explain this to me.  I have set the JAVA_HOME variable but it
> is not working.   It is making me crazy.



This is an issue with JDK 1.4.  I can't remember how I got around it,
but using other JDKs works better.


> 
> 
> Here is my JAVA_HOME info (This is the path to my sun java2 sdk)
> 
> echo $JAVA_HOME
> /usr/java/j2sdk1.4.0/bin/
> 
> When I run this:
> 
> ./build.sh -Dinclude.webapp.libs=yes webapp
> 
> I get this:
> 
> 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.
> 
> 
> /usr/xml-cocoon2/bin/and: java: command not found
> 
> Thanks,
> 
> David McInnis
> 
> 
> ---------------------------------------------------------------------
> 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]>
> 
> .
> 
> 



-- 

"They that give up essential liberty to obtain a little temporary safety
  deserve neither liberty nor safety."
                 - Benjamin Franklin


---------------------------------------------------------------------
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]>

Reply via email to