原出处在哪里,我忘记了。我已经copy到我机子上了。在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”就搞定了。二.还是无法启动SERVER,好象有个弹出窗口在出错误信息,但无法捉到,转向输出也不起作用
打开startserver.bat仔细检查,原来大部分都是在设置环境变量,只有一句关键的:
start java com.sun.web.shell.Startup %1 %2 %3 %4 %5 %6 %7 %8 %9
那么试着在DOS窗口下运行JAVA,提示注册表访问错误,键名为:
“Software\JavaSoft\Java Runtime Environment”
打开注册表检查,发现键名是“Java运行时环境”,靠,真不知道JDK的安装程序在搞什么飞机,把这个键名居然给本地化了!改回英文,再在IE5中敲入http://127.0.0.1:8080/,
呵,终于看到了JavaServer (tm) Web Development Kit 的大字标题