Two common problems for installing the JSP environment under 98

Source: Internet
Author: User

Author: BADBOY

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 %; d: jdk1.3in
Set CLASSPATH = d: jdk1.3libools. jar
Set JAVA_HOME = d: jdk1.3 (I mounted JDK to disk d)
There are two problems that need to be explained.
1. When startserver. bat is started, the error Out of Environment Space is reported.
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.
Understand, as long as you adjust the attributes of startserver. bat, the "initial environment" in the "Memory" is changed 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.