--------------- If you are working on Windows, open file apache-tomcat-6.0.18\bin\startup.bat and modify line: set JAVA_HOME=C:\Program Files\Java\jdk1.5.0_09 to reflect your local path of java jdk. --------------- If you are working on the lab machines (Linux) execute first chmod +x apache-tomcat-6.0.18/bin/*.sh --------------- To start Apache Tomcat, double click on apache-tomcat-6.0.18\bin\startup.bat (In Windows) or execute apache-tomcat-6.0.18/bin/startup.sh (in Linux) --------------- --------------- Your HTML files should go under: apache-tomcat-6.0.18/webapps/ROOT (In Linux) apache-tomcat-6.0.18\webapps\ROOT (In Windows) Then to open an HTML file in the browser, specify e.g. http://localhost:8080/GetExample.html --------------- --------------- Your Java classes should go under: apache-tomcat-6.0.18/webapps/ROOT/WEB-INF/classes (In Linux) apache-tomcat-6.0.18\webapps\ROOT\WEB-INF\classes (In Windows) --------------- ---------------- Any jar file (such as classes12.jar of Oracle JDBC) should go under: apache-tomcat-6.0.18/webapps/ROOT/WEB-INF/lib (In Linux) apache-tomcat-6.0.18\webapps\ROOT\WEB-INF (In Windows) ---------------- ---------------- Copy/sftp the /opt/oracle/jar/classes12.jar to your development directory. ---------------- ----------------- To compile, cd to the 'development' directory and execute the following: javac -d ../apache-tomcat-6.0.18/webapps/ROOT/WEB-INF/classes -classpath ../apache-tomcat-6.0.18/lib/servlet-api.jar:classes12.jar *.java (In Linux) javac -d ..\apache-tomcat-6.0.18\webapps\ROOT\WEB-INF\classes -classpath ..\apache-tomcat-6.0.18\lib\servlet-api.jar;classes12.jar *.java (In Windows) These commands will copy your .class files to the ..\apache-tomcat-6.0.18\webapps\ROOT\WEB-INF\classes directory. ----------------- When working on the lab machines, in ConnectionManager.java change localhost to oracle.csc.uvic.ca Then recompile as shown above.