JDK-4071324 : java.io.File: Want to get available disk space
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.io
  • Affected Version: 1.1.3
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_2.5.1
  • CPU: sparc
  • Submitted: 1997-08-12
  • Updated: 1998-01-12
  • Resolved: 1998-01-12
Related Reports
Duplicate :  
Description

Name: rlT66838			Date: 08/12/97


We need to be able to find how much space is
available on a given disk without having to use
native code.  If I want to write an installation
program in 100% pure Java, I can't because I
can't find out if there is enough space
available.  I could just start copying files
and wait for an error, but that is hardly 
professional.

This is not a system-specific function, so
surely there is no good reason not to give
access to it.

I very much want Java to succeed and have 
convinced my company that it is the way to go,
but this kind of unnecessary limitation is
hurting both of us.

======================================================================

Comments
WORK AROUND Name: rlT66838 Date: 08/12/97 ======================================================================
11-06-2004