Tomcat looks for $JAVA_HOME/bin java.
Since your env var JAVA_HOME was defined as /usr/local/jre1.2.2/bin,
it looks for /usr/local/jre1.2.2/bin/bin/java --> which does not exist.
(please look at the path carefully)

--
Antonio W. Lagnada
[EMAIL PROTECTED] - email

This email address is specifically
for JSP-Interest email list


---- "Lambert, Stephen : CO IR" <[EMAIL PROTECTED]> wrote:
> 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
>

___________________________________________________________________
To get your own FREE ZDNet Onebox - FREE voicemail, email, and fax,
all in one place - sign up today at http://www.zdnetonebox.com

===========================================================================
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