Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4071324

java.io.File: Want to get available disk space

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.1.3
    • core-libs
    • None
    • sparc
    • solaris_2.5.1



      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.

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

            mr Mark Reinhold
            rlewis Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: