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
posted
0
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
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
posted
0
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
posted
0
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
posted
0
... 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
posted
0
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
posted
0
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