Win a copy of Pipeline as Code this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

Problems with installing Tomcat

 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Greetings everyone,
I'm currently learning J2EE, Servlets etc, but have a problem installing the jakarta-tomcat-4.0.1.exe that came with the CD that accompanied the Java 2 certification study guide. whenever I double click on it, the typical installation screen appears (only that this one is red and not blue) with Apache Tomcat 4.0 as the title it tells me "Couldn't find a Java Development Kit installed on this computer. Please download one from http;//java.sun.com" as an error message. But I have installed, the J2sdk1.4.0-beta3 (thinking the .exe file had a problem with the -beta in this name, I installed the jsdk1.4 and got the same result,it's now uninstaled),j2sdkee1.3.1, jakarta-ant-1.4.1 and Oracle JDeveloper.
Other information that could be of help s that I run windows ME and , .exe file is 6.75MB and copying the file from the CD to C: and attempting to instal from c: yeilds the same result.
I would be immensly grateful if someone could tell me what's wrong? What is the .exe file looking for that it can't find?
Any useful suggestions are welcome.
Thanks.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't know what the installer is looking for, probably something in your registry or PATH. Anyway you could download Tomcat as a zip file from jakarata.apache.org and install it yourself.
It occurs to me as I write this that if your SDK is installed in c:\program files or another path with a space in it that the installer may be choking on the space.
Bill
 
Ranch Hand
Posts: 277
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.
Might be the CLASSPATH ?
Post you /etc/profile.
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moved from Servlets -> Apache/Tomcat
 
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I haven't had any problems with this installation, but I have the habit of always setting the environment variable "JDK_HOME" to the J2SE installation directory first.
You might want to try downloading the latest stable version of Tomcat (v 4.1.12) from jakarta.apache.org, as I found that cleared up a different problem I was having. It was a very clean install on both Win2K workstation and Win2K server.
On the workstation I even got it to recognize my BEA JRockit JVM -- IMHO, a bit faster than the Sun or IBM JVM's on Wintel platforms.
Oh, yeah... re-reading Bill Brogden's post reminded me that I ALWAYS install the JDK at the root of the partition... like "C:\j2sdk1.4.0_02"
PCS
[ November 06, 2002: Message edited by: Philip Shanks ]
 
Femi Alla
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello everyone,
Thanks so much for your responses.
Here's what my path no looks like:
C:\WINDOWS;C:\WINDOWS\COMMAND;C:\BORLAN~1\BIN;C:\j2sdk1.4.0-beta3\bin;.;C:\j2sdk1.4.0-beta3\jre\lib\rt.jar;j2sdkee1.3.1\bin;jakarta-ant-1.4.1\bin

I thought of downloading another one and installing but that's not going to be easy at all as I have no internet access
at home and only take diskettes to the cyber cafe which the tomcat wouldn't fit into.
I think this might come in helpful too, on the CD, there are two files in the tomcat directory (located at D:\web_app_servers\tomcat),
one is named webapp-module-1.0-tc40-windows.zip (a zip file) and the other jakarta-tomcat-4.0.1.exe, the latter is the
one we are talkning about there.
Just out of curiousity, is this the William Brogden whose mock exams I had to study before taking the certification exams?
Thanks.
 
I miss the old days when I would think up a sinister scheme for world domination and you would show a little emotional support. So just look at this tiny ad:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic