On Fri, Oct 03, 2003 at 11:37:57AM -0400, Cindy Girard wrote: > Hi, > > I'm trying to install the latest cocoon on our solaris machine, but > am getting this error during the build: > > Apache Cocoon Build System > -------------------------- > Error: JAVA_HOME is not defined correctly. > We cannot execute java -server > > Here are my environment variables: > > JAVACMD='java -server' > JAVA_HOME=/usr/local/j2sdk1.4.1_01 > PATH=/usr/sbin:/usr/local/bin:/usr/local/j2sdk1.4.1_01/bin:/uva/bin:/usr/bin: > /opt/SUNWspro/bin:/usr/ucb:/usr/openwin/bin:/usr/dt/bin:/usr/ccs/bin:/gnu/bin:/contrib/bin > > I had no problems installing tomcat with the current setup, and > JAVA_HOME is set. I've tried the build for cocoon 2.1.1 and 2.1.2 with > the same error. > > Is there something I'm missing?
Are you exporting those variables? (e.g. export JAVACMD JAVA_HOME PATH for bash/ksh, or the equivalent for other shells)? Steve -- Stephen Ramsay Assistant Professor Department of English University of Georgia email: [EMAIL PROTECTED] web: http://cantor.english.uga.edu/ PGP Public Key ID: 0xA38D7B11 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
