Thanks...I caught the typo in the JAVA_HOME variable soon after I sent the
email.
However, I'm still getting the same error when trying to run the startup.sh
script!
./tomcat.sh: usr/local/jre1.2.2/bin/java: no such file or directory

And yet when I change directory over to /usr/local/jre1.2.2/bin, the file
does exist
and in fact after I type java -version

The result is:
java version "1.2.2"
Classic VM (Build 1.2.2_006, green threads, nojit)

So, I'm back to square one, why the script tomcat.sh not find this file?



-----Original Message-----
From: Madigan, Brian [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 11, 2000 1:51 PM
To: [EMAIL PROTECTED]
Subject: Re: Installing Tomcat on Linux


remove /bin from this line in your .bash_profile
JAVA_HOME=usr/local/jre1.2.2/bin
should be
JAVA_HOME=usr/local/jre1.2.2

-----Original Message-----
From: Lambert, Stephen : CO IR [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 11, 2000 3:07 PM
To: [EMAIL PROTECTED]
Subject: Installing Tomcat on Linux


I have a Redhat 6.2 /Apache web server with JRE1.2.2 installed.

I have the following environment variables in my /root/.bash_profile

TOMCAT_HOME=usr/local/jakarta-tomcat

JAVA_HOME=usr/local/jre1.2.2/bin
and /usr/local/jre1.2.2/bin has been added to the PATH.


I am trying to install Tomcat.
But, I'm finding the install docs difficult to understand since I'm not
installing JDK!

Without editing any of the Tomcat scripts, I tried to run the script
startup.sh from /usr/local/jakarta-tomcat/bin/
I get the following error:
Using classpath: .:usr/local/jakarta-tomcat/lib/*
./tomcat.sh: usr/local/jre1.2.2/bin/bin/java: no such file or directory

This directory does not exist, where did this extra /bin directory come
from?
I didn't locate anything related to this directory in the tomcat.sh file.

Any suggestions?
Stephen.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to