I am trying to install cocoon 2.1.4 on my mac running MacOSX 10.3.3 and Java 1.4.2.
I build the according to the INSTALL.txt which rendered the following promising lines:
BUILD SUCCESSFUL Total time: 7 minutes 35 seconds
But when i type: ./cocoon.sh servlet
i get the following error:
You must set JAVA_HOME to point at your Java Development Kit installation
According to:
http://developer.apple.com/documentation/Java/Conceptual/ Java141Development/Overview/chapter_2_section_4.html#//apple_ref/doc/ uid/TP30000300/TPXREF111
and
http://developer.apple.com/qa/qa2001/qa1170.html
my Java Home should be set to /Library/Java/Home
so i set JAVA_HOME=/Library/Java/Home in my bash.
Things seemed very simple but this confuses me. The true path that my JAVA_HOME expands to after dereferencing aliasses is:
/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2
and it contains the following: drwxr-xr-x 10 root wheel 340 21 Jan 20:01 Classes drwxr-xr-x 24 root wheel 816 17 Mar 10:52 Commands drwxr-xr-x 5 root wheel 170 10 Jan 07:26 Home drwxr-xr-x 34 root wheel 1156 17 Mar 10:59 Libraries drwxr-xr-x 7 root wheel 238 21 Jan 20:01 Resources
what's wrong? What does cocoon look for and doesn't find?
Thanks you for help even though i'm afraid i'm making a very stupid mistake. But i couldn't find the answer anywhere.
jacques
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
