Install the JSP environment under Win98 (JSWDK-1.0.1 or Tomcat3.1 in JDK1.3)
In the PWIN98SE environment, I use the JSP runtime environment to jswk-1.0.1 and jdk1.3, and download it at http://java.sun.com. JDK1.3 installation process is simple, JSWDK1.0.1 does not need to install as long as you decompress. Then modify the autoexec.bat as follows:
Path =% path%; C: /JDK1.3
Set classpath = c: /jdk1.3/lib/tools.jar; c: /jdk1.3/lib/dt.jar
Set java_home = c: /jdk1.3 (I put JDK to C drive)
There are two questions necessary to explain it.
1. When starting StartServer.bat under JSWDK-1.0.1, report the Out of Environment Space error. (Tomcat3.1 pass, starting Startup.bat under Tomcat / BIN)
Check the redme.html of jswdk1.0.1:
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 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.
Understand, as long as the properties of STARTSERVER.BAT (STARTUP.BAT) are adjusted, "the initial environment" in "Memory" is "automatically" modified "2816" to get it.
II. I can't start the server, as if there is a pop-up window in an error message, but I can't catch it, the steering output does not work.
Open StartServer.bat carefully check, most of them are setting up environment variables, only one key:
Start java com.sun.web.shell.startup% 1% 2% 3% 4% 5% 6% 7% 8% 9
So try running Java under the DOS window, prompting the registry access error, the key name is:
"Software / JavaSoftjava / Java Runtime Environment"
Open the registry check, discover the "Java Runtime Environment", rely on, I really don't know what the JDK installer is doing this button, it is localized! Return to English, then knock in IE5 http://127.0.0.1:8080/,