Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error in running Apache Ant

Status
Not open for further replies.

pradeepinjava

Programmer
Aug 29, 2003
8
0
0
US
I've installed ant in win 98. I've set all the env variables. But while running ant in command line i got the "out of environment space " error.

what should i do?
 
Basically, your dos shell has run out of memory, so you need to increase it's default ....
From the below URL :



Modify the Environment for All MS-DOS Programs
To increase the default environment space for all MS-DOS programs running in Windows, edit the Shell command in the Config.sys file. To do this, follow these steps:
Click Start, and then click Run.
In the Open box, type sysedit, and then click OK.
Click the Config.sys window.
At the beginning of the Shell= line, type REM, and then press the SPACEBAR.

If the Shell= line does not exist, proceed to the next step.
Press the HOME key.
Type the following line to create a new Shell= line, and then press ENTER:
SHELL=C:\COMMAND.COM /E:4096 /P

On the File menu, click Save.
On the File menu, click Exit.
Restart the computer.
 
thanks for your info.

but this can be easily done as follows:

ms-dos->properties->memory->4096 and restart. ok?

I've done this and Ant is working now.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top