Tomcat Download Mac Os X



I recently had to install Tomcat for Web Technologies class where we are exploring the world of Servlets and JSPs. I performed the following steps to setup Tomcat 5.5 on Mac OS X 10.4 (Tiger).

Installing Tomcat 8 on OS X Yosemite is actually quite easy. One can do it with the help of Homebrew or MacPorts, but I prefer to do it “by hand”. All you have to do is to follow the steps below.

First, head over to the Apache Tomcat download page and download the core binary distribution in the tar.gz format. Once downloaded, the rest of the work will be done within the Terminal. Start by extracting the downloaded archive.

The file name of course depends on the particular version that you downloaded. Once extracted, we will move the folder into the /usr/local directory, first ensuring that it exists (even though it should).

  1. Apache Tomcat 8.5.58. Useful references: Release notes, with important information about known issues; Changelog; NOTE: The tar files in this distribution use GNU tar extensions, and must be untarred with a GNU compatible version of tar. The version of tar on Solaris and Mac OS X will not work with these files. Tomcat 8.5 requires Java 7 or later.
  2. Download the Tomcat binaries for MAC, and you will be able to start and stop your Application Server. Next Post: How to install JDK 8 on Mac OS X.

Now we will remove any Tomcat installation that could theoretically already be at /Library/Tomcat and create a new symbolic link to the installation directory. By creating a symbolic link, the path to our Tomcat 8 installation is more convenient and can easily be updated if a new version of Tomcat is installed. Thus, we would not have to update configurations in applications that may be using Tomcat, such as an IDE.

Now we will just set the owner of the directory and files recursively, and make sure that the scripts are executable.

Tomcat Download Mac

At this point, Tomcat 8 should successfully be installed on your Mac. To start it, simply use the following commands.

Similarly, to stop it, use the following commands.

Download Tomcat 8.5

Tomcat Download Mac Os X

Download Tomcat 8 For Mac Os X

That is it! You should now be able to access Apache Tomcat’s welcome page on http://localhost:8080. If you wish to make starting and stopping Tomcat 8 a little simpler, then you could create a few convenience commands on OS X.