在PWIN98SE环境下 ,我使用JSP运行环境为JSWDK-1.0.1和JDK1.3,要到http://java.sun.com处下载。JDK1.3安装过程很简单,JSWDK1.0.1无须安装只要解压缩即可。然后修改AUTOEXEC.BAT如下: PATH=%PATH%;d:\jdk1.3\bin set CLASSPATH=d:\jdk1.3\lib\tools.jar set JAVA_HOME=d:\jdk1.3(我把JDK装到了D盘) 有两个问题有必要说明一下。 一. 启动startserver.bat的时候,报告Out of Environment Space错误。 查阅JSWDK1.0.1的redme.html得到: Out of Environment Space error message On Windows 95/98 systems, you may see an "Out of Environment Space" error message when starting the server. This happens if Windows provides too small a space for environment variables. To work around this limitation: 1 Close the DOS window (the error can corrupt its CLASSPATH variable). 2 Open a new DOS window. 3 Click on the MS-DOS icon at the top left of the window. 4 Select the Properties option. 5 Click on the Memory tab. 6 Adjust the "Initial Environment" drop-down box from "Auto" to "2816". 7 Click OK. 8 Start the server. 明白了,只要调整startserver.bat的属性,将“内存”中的“初始环境”由“自动”修改做“2186”就搞定了。