标题: JAVA教程之在win98下安装JSP情况 [打印本页] 作者: 乐观 时间: 2015-1-18 11:08 标题: JAVA教程之在win98下安装JSP情况 因为能用到多少功能就用多少,不能用就不用!总的来说:要简单要性能好,可以不用框架。你说java复杂,就是因为你把java(j2ee)与这些框架混在了一起。js 在PWIN98SE情况下 ,我利用JSP运转情况为JSWDK-1.0.1和JDK1.3,要到http://java.sun.com处下载。JDK1.3安装历程很复杂,JSWDK1.0.1不必安装只需解紧缩便可。然后修正AUTOEXEC.BAT以下:
PATH=%PATH%;d:jdk1.3in
set CLASSPATH=d:jdk1.3lib ools.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”就弄定了。