Win98下安装JSP环境(tomcat-4.0.1 在 jdk1.3.1 下) (转)[@more@]在
win98环境下 ,我使用
JSP运行环境为
jdk1.3.1,如果您没有请到个大jsp站点处
下载。JDK1.3.1无须
安装只需解压即可。
tomcat-4.0.1也只需解压即可。然后修改AUTOEXEC.BAT如下:
PATH=%PATH%;c:jdk1.3.1
set CLASSPATH=C:jdk1.3.1libTools.jar
set Java_HOME=c:jdk1.3.1(我把JDK1.3.解压到了C盘)
注意:有两个问题有必要说明一下。
一. 启动tomcat4.0.1.1下的startup.bat的时候,报告Out of Environment Space错误。
查阅里面的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 prov ides too small a space for environment variables. To work around this limitation:
1 Close the D os 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.
明白了,只要调整startup.bat 的属性,将“ 内存”中的“初始环境”由“自动”修改做“2816”就搞定了。shutdown也是如此。然后 启动服务环境,在 IE5.0的 浏览器地址栏输入 http://127.0.0.1:8080/或 http://' 计算机的名字,:8080/
呵,终于看到了 TomCat 的版本号网页的大字标题。安装成功……
PATH=%PATH%;c:jdk1.3.1
set CLASSPATH=C:jdk1.3.1libTools.jar
set Java_HOME=c:jdk1.3.1(我把JDK1.3.解压到了C盘)
注意:有两个问题有必要说明一下。
一. 启动tomcat4.0.1.1下的startup.bat的时候,报告Out of Environment Space错误。
查阅里面的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 prov ides too small a space for environment variables. To work around this limitation:
1 Close the D os 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.
明白了,只要调整startup.bat 的属性,将“ 内存”中的“初始环境”由“自动”修改做“2816”就搞定了。shutdown也是如此。然后 启动服务环境,在 IE5.0的 浏览器地址栏输入 http://127.0.0.1:8080/或 http://' 计算机的名字,:8080/
呵,终于看到了 TomCat 的版本号网页的大字标题。安装成功……
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10752043/viewspace-960932/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10752043/viewspace-960932/