

After trying them all on five different computers - this is the simplest! There are some notes and a couple of Preference Panes for automating the starting and stopping of Tomcat. Using CATALINA_TMPDIR: /library/tomcat/temp

The default Tomcat installation only has the basic roles and users set up. Open the /Library/Tomcat/conf/tomcat-users.xml file with a plain text editor. I just named it Tomcat as it saves some typing in the Terminal If there is already a Tomcat folder (presumably from an out-of-date installation), delete all the files already in that folder.Ĭopy all the unstuffed files from the jakarta-tomcat-5.0.27.tar.gz download and put all the files into the Tomcat folder. If there is not already a folder in Macintosh HD > Library called Tomcat, then create one. Navigate (using the Finder) to Macintosh HD > Library. In my case I wanted to get rid of all the other Tomcat installations and start from scratch.ĭownload Jakarta Tomcat from the Tomcat home page, and get the binary version - I_downloaded jakarta-tomcat-5.0.27.tar.gz.Įxtract the files (unless your browser automatically extracts them).
Apache tomcat 8mac install#
Since I had already installed and played with a separate install of Tomcat (the version installed by Apple's XCode was out of date, as was the version I downloaded from another site), I was ready to give up! I installed it the first time on a Windows XP Professional system, but my development machine is a Macintosh. I wanted to learn about Java Servlet Pages (JSP) on my Macintosh (with MacOS X). There is a link Current and CurrentVersion which matches up the current Java environment with the appropriate version. JAVA_HOME is at /Library/Java/Home, but this is a link into a directory /System/Frameworks/JavaJVM.Framework/Versions which is used to switch between versions easily. It is possible to run Java 1.4 on MacOS X Jaguar but it may interfere with operation of the standard environment. MacOS X 10.5 ( Snow Leopard) comes with Java 1.6. MacOS X 10.5 ( Leopard) comes with Java 1.5. MacOS X 10.4 ( Tiger) comes with Java 1.4.2 installed, but Java 1.5 can be downloaded. MacOS X 10.2 ( Jaguar) comes with Java 1.3 MacOS X 10.3 ( Panther) comes with Java 1.4. Java is installed by default on every MacOS X installation. I hope these notes are of use to someone out there. These notes are the result of several weeks playing with different things and asking a LOT of questions on several mailing lists.

Apache tomcat 8mac mac os x#
For an updated guide for installing Tomcat 5/6 on Mac OS X 10.6 using MacPorts check
