SlideServe
Menu
Préférences
© SlideServe · v2026

Installing Tomcat on Windows

madra avatar
5 diapositives · 252 Views · Oct 03, 2014

Installing Tomcat on Windows. You may find the Tomcat install shield has some problems recognizing JSDK 1.4 beta installations. You can nevertheless install Tomcat, using the UNIX style commands suggested earlier, if you have Cygwin running ( www.cygwin.com ).

Installing Tomcat on Windows - slide 1
01 / 5Installing Tomcat on Windows
1 / 17

Télécharger la présentation

Installing Tomcat on Windows
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Installing Tomcat on Windows • You may find the Tomcat install shield has some problems recognizing JSDK 1.4 beta installations. • You can nevertheless install Tomcat, using the UNIX style commands suggested earlier, if you have Cygwin running (www.cygwin.com). • Alternatively, uninstall JSDK 1.4 beta (if you have installed it), and install JDK 1.3 instead. dbc@csit.fsu.edu

  2. Installing JDK 1.3 on Windows • If your computer has an administrator account, log in as such. • Point Internet Explorer at http://java.sun.com/j2se/1.3 • Follow the “Microsoft Windows” link. Click “continue”, and accept the license. • Click, e.g., “FTP download”. A File Download dialog will probably pop up. Select “Run this program from its current location” if you have the option. • Otherwise, or if you want to install on a different machine, save the .exe to a file, transfer it by suitable media (34M) to the target machine, and run it there. • Click through the installation shield. Accept all defaults unless you have a good reason not to. The software should now be installed. • Add C:\jdk1.3.1_01\bin to your PATH. • Item 4. of http://java.sun.com/j2se/1.3/install-windows.html gives painstaking instructions for every known variant of Windows. • While you are doing this, create a new environment variable called JAVA_HOME, and set its value to be C:\jdk1.3.1_01. This is for the benefit of Tomcat. • Type the command java –version in a new command prompt window, to test. dbc@csit.fsu.edu

  3. Installing Tomcat 4 on Windows • Go to the Jakarta home page: http://jakarta.apache.org • Follow the Binaries link under Download. • Under the heading Release Builds, follow the Tomcat 4.0.1 link. • Follow one of the links labeled bin/ or binary. • Click on jakarta-tomcat-4.0.1.exe. A File Download dialog will probably pop up. Select “Run this program from its current location”, if you have the option. • Otherwise, or if you want to install on a different machine, save the .exe to a file, transfer it by suitable media (7M) to the target machine, and run it there. • Click through the installation shield. Accept all defaults if you like, although I chose C:\jakarta-tomcat as the installation directory (rather than the default, which is under C:\Program Files). The software should now be installed. • Set the environment variable JAVA_HOME, if you haven’t already done so (see previous slide). In a similar way, create an environment variable CATALINA_HOME with value C:\jakarta-tomcat, or your selected installation directory. dbc@csit.fsu.edu

  4. Starting and Stopping your Server • To start your server, start a Command Prompt Window, and run the command C:\jakarta-tomcat\bin\startup.bat. • To stop your server run the command C:\jakarta-tomcat\bin\shutdown.bat. • Of course, replace c:\jakarta-tomcat here with your selected installation directory, if you chose a different one. dbc@csit.fsu.edu

  5. Check Your Server is Running • Running a Web browser on the same machine, point it at: http://localhost:8080 • If you are running your server on a host with fixed DNS name, hostname, you may point a browser from another computer at the URL: http://hostname:8080 • You should see the default Tomcat home page, which contains some useful documentation. dbc@csit.fsu.edu