This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: libgcj on win32 (mingw) - target: java.io.File.listRoots(); doesn't work
- From: Simon Rutishauser <simon dot rutishauser at gmx dot ch>
- To: java at gcc dot gnu dot org
- Date: Wed, 26 Feb 2003 11:37:15 +0100
- Subject: Re: libgcj on win32 (mingw) - target: java.io.File.listRoots(); doesn't work
- References: <POEIJGMGPFPGFHAGKFHAAEELCFAA.erik.poupaert@chello.be>
Thanks, this does the trick!
But that just brought me round to a new problem:
File drive = new File("d:\\");
File[] dirs = drive.listFiles();
throws a NullPterException in the second line. If I use c:\\ instead of d:\\
it works all right. If I use e:\\ instead it just shows the contents of the
dir where the prog resides. (c, d, e are all fat partitions)
with cd drives it works
so what?
Peschmä