Installling Tomcat on Mac
The JDK installer package comes in a dmg and installs easily on the Mac; and after opening the Terminal app again, 1 java - version now shows something like this: 1 2 3 java version "1.8.0_181" Java ( TM ) SE Runtime Environment ( build 1.8.0_181 - b13 ) Java HotSpot ( TM ) 64 - Bit Server VM ( build 25.181 - b13 , mixed mode ) Whatever you do, when opening Terminal and running ‘java -version’, you should see something like this, with a version of at least 1.8.x I.e. Tomcat 9.x requires Java 8 or later. sudo sudo is a program for Unix-like operating systems, allowing you to run programs with the security privileges of another user (normally the superuser, or root). Since we are creating directories, outside of your home folder, administrator right are required. I.e., when executing sudo you will be asked to enter your password; and your Mac User account needs to be an ‘Admin’ account. JAVA_HOME is an important e...