Hi
On RedHat Linux 9 I have installed the full Sun enterprise environment in /apps/SUNWappserver , and inside that directory there is a jdk/ directory (nb: this should be 1.4 of the JDK but the directory has not been named as such by the installer).
Anyhow, I then type at a shell prompt (bash):
set JAVA_HOME=/apps/SUNWappserver/jdk
export JAVA_HOME
I then try to run up Jakarta with:
/apps/jakarta-tomcat-4.1.30/bin/startup.sh
and immediately get the error message:
"
The JAVA_HOME environment variable is not defined
This environment variable is needed to run this program
"
As I've defined the variable as above, I'm at a loss as to what to do next. I searched the Jakarta.apache.org site but could find no information to aid me.
Checking through the book Professional Apache 2.0 from Wrox it appears I have typed in the correct commands.
Any suggestions would be great and I'll buy you an e-beer
-Colin
On RedHat Linux 9 I have installed the full Sun enterprise environment in /apps/SUNWappserver , and inside that directory there is a jdk/ directory (nb: this should be 1.4 of the JDK but the directory has not been named as such by the installer).
Anyhow, I then type at a shell prompt (bash):
set JAVA_HOME=/apps/SUNWappserver/jdk
export JAVA_HOME
I then try to run up Jakarta with:
/apps/jakarta-tomcat-4.1.30/bin/startup.sh
and immediately get the error message:
"
The JAVA_HOME environment variable is not defined
This environment variable is needed to run this program
"
As I've defined the variable as above, I'm at a loss as to what to do next. I searched the Jakarta.apache.org site but could find no information to aid me.
Checking through the book Professional Apache 2.0 from Wrox it appears I have typed in the correct commands.
Any suggestions would be great and I'll buy you an e-beer
-Colin