Windows 98 / NT 4.0 / 2000 Professional / Server
https://java.sun.com/products/jdk/1.2/ → jdk1_2_2-001-win.exehttps://jakarta.apache.org/builds/tomcat/release/v3.1/ → tomcat.zipC:\jdk1.2.2 (JRE 另裝 C:\Program Files\JavaSoft\JRE1.2)。PATH 追加 C:\jdk1.2.2\binCLASSPATH 設為 .;C:\jdk1.2.2\lib\tools.jar;C:\jdk1.2.2\lib\dt.jarWin98 編輯 autoexec.bat;NT/2000 用「控制台→系統→環境變數→系統變數」。
tomcat.zip 至 D:\,自動建立 D:\tomcat (以下以 $TOMCAT 代稱)。$TOMCAT\conf\server.xml 的 ContextManager 區段。$TOMCAT\startup.bat 啟動。https://localhost:8080/ (或修改後埠),見「Tomcat Version 3.0」頁面即成功。$TOMCAT\conf\start.bat 加入 SET JAVA_HOME=C:\jdk1.2.2。server.xml port 屬性。<%@ page contentType="text/html;charset=GB2312" %> 或 UTF-8。JAVA_HOME 指向 JDK 而非 JRE,且 lib/tools.jar 存在。Tomcat 3.x 已停止維護,現代專案請使用 Tomcat 9/10 (Servlet 4.0/5.0/6.0),安裝邏輯相同,僅配置檔結構不同 (server.xml, web.xml)。