Download presentation
Presentation is loading. Please wait.
Published byAmbrose Gilmore Modified over 9 years ago
1
dbc@csit.fsu.edu1 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.
2
dbc@csit.fsu.edu2 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.
3
dbc@csit.fsu.edu3 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.
4
dbc@csit.fsu.edu4 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.
5
dbc@csit.fsu.edu5 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.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.