• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Trouble installing TomCat 5.0

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I downloaded and attempted to install TomCat 5.0. The problem Is I do not know two of the answers for questions that the installation program prompts me for. Here are the questions: My comments are in angle brackets [ ].

1.)Choose install location : [Prompt on installation dialog box]
C:\Program Files\Apache Software Foundation\Tomcat 5.0 [Default directory
this points to. Should I delete and just type in TomCat5.0 ???]
Please select the path of the JVM installed on your system: [I searched for jvm.* and the following three directories were displayed. Note
that I do not know which one to choose ??? Am I looking for a dll ?]

jvm in C:\j2sdk1.4.1_01\lib (Contains jvm with no file name extension)
jvm in C:\j2sdk1.4.1_01\jre\bin\client (Contains Jvm.dll)
jvm in C:\j2sdk1.4.1_01\jre\bin\server (Contains Jvm.dll)

Note that this is the default:
C:\Program Files\JavaSoft\JRE\1.3.1
 
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You may have already figured this out, but in terms of the first question, it doesn't matter where TOMCAT is installed, as long as it is configured correctly (TOMCAT_HOME, PATH, etc). If you don't care where it goes, take the default. If you want it somewhere else, put it there.
As for the JVM, it probably only cares about the main install directory, so use "C:\j2sdk1.4.1_01" as the JVM value.
 
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 really hate that "Program Files" convention and paths with spaces can cause very odd bugs so I always change the install directory to something shorter and easier to type correctly, like
C:\Tomcat5.0
DON'T give a JVM path to a JRE if you want to run any JSP - JSP need the compiler so give the path to your SDK (just the sdk, not the lib or bin) as:
C:\j2sdk1.4.1_01
Bill
 
reply
    Bookmark Topic Watch Topic
  • New Topic