Mail Archives: djgpp/2002/10/16/02:54:30
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.
- Raw text -