Install the JSP environment in win98 (jswdk or tomcat in Jdk1.3)

Source: Internet
Author: User

Install the JSP environment in win98 (jswdk-1.0.1 or tomcat3.1 under Jdk1.3)


In the PWIN98SE environment, I use the JSP runtime environment for JSWDK-1.0.1 and JDK1.3, to download to the http://java.sun.com. JDK1.3 the installation process is very simple. JSWDK1.0.1 does not need to be installed, but only needs to be decompressed. Then modify AUTOEXEC. BAT as follows:
PATH = % PATH %; c: jdk1.3
Set CLASSPATH = C: jdk1.3libTools. jar; C: jdk1.3libdt. jar
Set JAVA_HOME = c: jdk1.3 (I mounted JDK to drive c)
There are two problems that need to be explained.
1. When startserver. bat under the jswdk-1.0.1 is started, the Out of Environment Space error is reported. (Tomcat3.1, start startup. bat under tomcatin)
Check the redme.html of jswdk1.0.1to get the following information:
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 reset upt 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.
Now, you only need to adjust the attributes of startserver. bat (startup. bat) and change the "initial environment" in the "Memory" from "automatic" to "2186.

2. The SERVER still cannot be started. It seems that an error message is displayed in a pop-up window, but it cannot be caught, and the redirection to the output does not work.
Open startserver. bat and check it carefully. In the past, most of the environment variables were set. There is only one key sentence:
Start java com. sun. web. shell. Startup % 1% 2% 3% 4% 5% 6% 7% 9
Then try to run JAVA in the DOS window and prompt the Registry access error with the key name:
"Softwarepolicoftjava Runtime Environment"
Open the Registry check and find that the key name is "Java Runtime Environment". By relying on it, I really don't know what kind of aircraft the JDK installation program is doing. I actually localized this key name! Change to English, and then enter http: // 127.0.0.1: 8080/In IE5 /,
Well, I finally saw the big title of JavaServer (tm) Web Development Kit.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.