tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neil Aggarwal" <>
Subject RE: Tomcat 4.0 and Linux 7.1
Date Fri, 12 Oct 2001 22:23:17 GMT

I have the IBM JDK installed in /opt/IBMJava2-13 and
tomcat 4.0 installed in /usr/local/jakarta-tomcat-4.0

This sequence of commands:
export JAVA_HOME=/opt/IBMJava2-13

Runs tomcat just fine.

I hope this helps.


Neil Aggarwal
JAMM Consulting, Inc.    (972) 612-6056,
Custom Internet Development    Websites, Ecommerce, Java, databases

> -----Original Message-----
> From: David Johns []
> Sent: Friday, October 12, 2001 5:21 PM
> To:
> Subject: Tomcat 4.0 and Linux 7.1
> I'm a Java programmer interested in developing JSP pages on a Linux/Tomcat
> platform.  I recently installed Red Hat Linux 7.1 on my PC and downloaded
> the tar
> file for Tomcat 4.0.  I decompressed the tar file, saving it to a Tomcat
> directory.  Within the bin directory, I run ./ to open a Tomcat
> session, and then try to open the default page (index.html) in Netcape at
> http://localhost:8080.  Netscape does not open the file.  Linux tells me I
> have to set the JAVA_HOME variable to point to the JDK directory.  I tried
> this at both the command line and within .bash_profile.  I tried to run
> Tomcat as root and as a regular user.  What configurations are required to
> run Tomcat in Linux?  (It works fine on my Windows 2000 PC.)  The
> help files
> say something about JAVA_HOME and CATALINA_HOME environment
> variables, but I
> don't know where or how to set these.  Speaking of environment variables,
> how do I set the CLASSPATH for Java?  (I know how to do this in
> Windows 2K,
> but not Linux 7.1.)
> Thanks in advance for helping me overcome these technical frustrations.
> (I'm a newcomer to both Linux and Tomcat.)
> David Johns (in Overland Park, Kansas)

View raw message