• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

can't start web server

Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
What does this mean? How to fix it?
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.
Frances Fang
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
2) Change the "Initail Memory" of MS-DOS to 2816.
But the problem still exists. Why? Am I missing something here?
Cob is sand, clay and sometimes straw. This tiny ad is made of cob:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic