You would do well to go through some of the Apache Tomcat documentation. Start with http://tomcat.apache.org/tomcat-4.1-doc/appdev/ but be prepared to use your favorite search engine.
Keano Denton wrote:Also I am using a Mac running OS X 10.8.4. I don't know if that matters. I've done some research on Tomcat, and set it up on my mac, but I keep getting exceptions when running the catalina.sh in terminal. Thanks for all your help
Doesn't matter -- I'm using 10.8.4 as well. Tomcat 6 runs fine for me.
You shouldn't be running catalina.sh but startup.sh.
Make sure that JAVA_HOME is properly defined. For me:
$ echo $JAVA_HOME
A quickie overview for one fairly easy way to do it: