From: Charles Sandmann Newsgroups: comp.os.msdos.djgpp Subject: Re: bash Date: Wed, 16 Oct 2002 11:10:38 CDT Organization: Rice University, Houston TX Lines: 31 Message-ID: <3dad8f7e.sandmann@clio.rice.edu> References: NNTP-Posting-Host: clio.rice.edu X-Trace: joe.rice.edu 1034785007 14172 128.42.105.3 (16 Oct 2002 16:16:47 GMT) X-Complaints-To: abuse AT rice DOT edu NNTP-Posting-Date: 16 Oct 2002 16:16:47 GMT X-NewsEditor: ED-1.5.9 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > > 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. I think Eli's right on this. See: http://clio.rice.edu/djgpp/DJGPP_W2K.htm (Known Problems) http://clio.rice.edu/djgpp/W2K_workaround.htm (Workarounds) > 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. Look at the date on your .EXE images - anything dated before December 2001 (or built with a libc from a V2.03 released before that date) may not work with the Win2K bugs. (You can check the libc ident in the image to be sure). If you can't rebuild the image, you can use the long file name TSR to work around the bug. Make sure you have updated your djdev203.zip to the most recent version.