Jerry, Nice to see a fellow Coug using OS X. What Cocoon is looking for, regarding the JAVA_HOME is a path to the bin/ directory that the java, javac, javah, etc.. executables reside.
http://developer.apple.com/internet/java/enterprisejava.html As mentioned by another developer look under /usr is because underneath that resides the /bin directory or /usr/bin. I will verify this tonight when I install Cocoon on an iBook. Debian Linux has a structure where it uses /etc/update-alternatives scheme to reference such executables that actually can reside where you want it to but that gets referenced under say /usr/bin or /usr/local/bin. As I said I'll get Cocoon installed tonight on Panther 10.3.3 and write a follow-up but I'd bet the bash settings of JAVA_HOME=/usr is so the JVM can then look for /bin and find the java, jar, javac, javah, etc., executables. -Marc J. Driftmeyer --- Jerry Tangren <[EMAIL PROTECTED]> wrote: > With the same out of the box configuration I use > > JAVA_HOME=/usr > > --Jerry <[EMAIL PROTECTED]> > > On 2004-03-29 16:06:28 -0800 jacques couzteau <[EMAIL PROTECTED]> > wrote: > > > Hello i'm new, > > > > 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] > __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
