Date: Wed, 16 Oct 2002 08:23:15 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Johnny Patino cc: DJGPP Subject: Re: bash In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 15 Oct 2002, Johnny Patino wrote: > When I execute the following command using bash-2.05b: > bash-2.05b$ javac -d d:/documents/johnny BoardPanel.java TopPane.java > BottomPane.java WheelOfFortune.java > I get the following error: > bash.exe: c:/progra~1/java/j2sdk1~1.0/bin/javac.exe: Not enough memory > (ENOMEM) It's not a memory problem, it's a manifestation of a bug in the way Windows 2000 and XP implement the long file-name (LFN) API for DOS programs. The error message comes from a function that tries to rename a file, typically a temporary file created by the compiler is renamed to the output file you specified. > Could someone please let me know how to increase the memory for bash under > W2K. The amount of memory is not your problem. To fix the bug, you need a version of javac built with a fixed library, which includes a workaround for this Windows bug. I don't know whether such a javac exists and where, sorry.