aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Out of Environment Space in win98 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Out of Environment Space in win98" Watch "Out of Environment Space in win98" New topic
Author

Out of Environment Space in win98

Nazmul Huda Sarkar
Ranch Hand

Joined: Feb 01, 2002
Posts: 317
Hello Ranchers
I found a problem starting J2EE in windows 98...it shows a Out of Environment Space error..can anybody tell me whats going on??? how to set the Environment variable in win98 ??? is there any limitation..
Regards
Nazmul
SCJP


Nazmul<br />SCJP,SCWCD,IBM OOAD with UML
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
whats going on???
Out of Environment Space.........thats what is going on.
Bring up the properties of your DOS window by clicking on the right mouse in the title bar.
Then goto the Memory Tab. Increase the Dynamic memory field (I am not sure what this is called. Its the Pull down list on the right top side) to something like 4096 or something. Quit the DOS window and re-start it.
Now you should be fine.
- satya


Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Mee02 Re
Greenhorn

Joined: Feb 20, 2002
Posts: 8
Same error with me.
Satya still the same error.
I have downladed tomcat 4.0.2 release builds from
http://jakarta.apache.org/site/binindex.html
o/s=windows 98.
My autoexec.bat
SET JAVA_HOME=C:\JDK1.3.1_02
SET CATALINA_HOME=e:\tomcat\jakarta-tomcat-4.0.2
SET CLASSPATH=%CLASSPATH%;c:\jdk1.3.1_02\lib\tools.jar;c:\jdk1.3.1_02\lib\ext;c:\jdk1.3.1_02\lib;c:\tomcat\jakarta-tomcat-4.0.2\common\lib\servlet.jar
SET PATH=C:\JDK1.3.1_02
when i try to start the tomcat
i get a screen as
Out of environment space
Cannot find
This file is needed to run this program

Any suggestions of what's going worng.
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

Increase the Dynamic memory field (I am not sure what this is called. Its the Pull down list on the right top side) to something like 4096 or something

Thats actually the "Initial Environment" list value.
If it doesn't work, try rebooting your system.
regds.
- satya
Guy Allard
Ranch Hand

Joined: Nov 24, 2000
Posts: 776
Hi - 98 is stil DOS'ish enough that if you edit c:\config.sys, and add a line like:
SHELL=C:\COMMAND.COM /P /E:2048
your terminals will always have 2048 of environment space. Adjust 2048 as needed.
Regards, Guy
Axel Janssen
Ranch Hand

Joined: Jan 08, 2001
Posts: 2164
... or start your tomcat from the dos-box.
Open dos-box. Change to tomcat directory with
cd C:\Tomcat4\bin (or whatever your directory is)
Then try satyas tip.
Then type startup.
You could even write your own startup-batch file. I think.
Set the environment variables (JAVA_HOME=... ).
And last line is startup.bat.

Then your poor windows98 guys dont have to change autoexec.bat.
There are lots of discussions about running tomcat on dos-clone OS (Windows98/95/Me).
By the way: In windows XP Home Edition setup is like in Windows2000.
Axel
[ February 21, 2002: Message edited by: Axel Janssen ]
[ February 21, 2002: Message edited by: Axel Janssen ]
Mee02 Re
Greenhorn

Joined: Feb 20, 2002
Posts: 8
I got rid of that error .
But there is a new error now .. When i try to start the tomcat in the screen i get as
Using CATALINA_BASE: c:\tomcat\jakarta-tomcat-4.0.2
Using CATALINA_HOME: c:\tomcat\jakarta-tomcat-4.0.2
Using CATALINA_TMPDIR: c:\tomcat\jakarta-tomcat-4.0.2\temp
Using JAVA_HOME: C:\JDK1.3.1_02
Bad command or file name
Nazmul Huda Sarkar
Ranch Hand

Joined: Feb 01, 2002
Posts: 317
Hello ranchers
thanks all for your nice contribution...
But I didn't face any problem to run Tomacat in win98....I've find this error while running J2EE1.3.1....anyway..I'll do what u guys adviced..today...
Nazmul
SCJP
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Out of Environment Space in win98
 
Similar Threads
running j2ee in Win98/WinME
ben..............tomcat is not installing
tomcat4.0 start.bat file
Running ANT - Out of environment space
tomcat not starting