This week's book giveaways are in the AI and JavaScript forums.
We're giving away four copies each of GANs in Action and WebAssembly in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of GANs in ActionE this week in the AI forum
or WebAssembly in Action in the JavaScript forum!
  • 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 ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

can't start web server

 
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
 
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
 
They gave me pumpkin ice cream. It was not pumpkin pie ice cream. Wiping my tongue on this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!