• Post Reply Bookmark Topic Watch Topic
  • New Topic

can't start web server  RSS feed

 
Frances Fang
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I downloaded and installed jswdk-1.0 from http://java.sun.com/products/servlet/index.html to my Windows 98 computer.I also set Servlet.jar & Webserver.jar on classpath.But when I double-clicked the startserver.bat file,the message says
"out of environment space
out of environment space
// a couple of this message
using CLASSPATH;
"
What does this mean? How to fix it?
Tks!
Frances
 
Abhijit Parwatkar
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check the readme.html file in jswdk directory. It says this...
try it. should work. I have this fixed, but i fixed it months back, so do not remember whether i did the same.
----
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:
Close the DOS window (the error can corrupt its CLASSPATH variable).
Open a new DOS window.
Click on the MS-DOS icon at the top left of the window.
Select the Properties option.
Click on the Memory tab.
Adjust the "Initial Environment" drop-down box from "Auto" to "2816".
Click OK.
Start the server.
-Abhijit
 
Frances Fang
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Thank you for your help!
I did what you & "readme.html" suggested:
1) In autoexec.bat:-
...
PATH %JAVA_HOME%c:\jdk\bin
set CLASSPATH=.;c:\jdk\lib\tools.jar;c:\jswdk-1.0.1
\webserver.jar;c:\jswdk-1.0.1\lib\servlet.jar;
%CLASSPATH%
2) Change the "Initail Memory" of MS-DOS to 2816.
But the problem still exists. Why? Am I missing something here?
Frances
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!