Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Hard Disk Space in Java

  Asked By: Jose    Date: Jun 16    Category: Java    Views: 1103
  

Can anyone give me the suggestion for getting the Hard Disk space in Java.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Danny Perkins     Answered On: Jun 16

I know 2 ways to gather this information.

1 - executing a shell script by using Runtime.exec(....) method, and get the
outputstream.
2 - Using Java Native Inteface (jni) to reach os apis...

 
Didn't find what you were looking for? Find more on Hard Disk Space in Java Or get search suggestion and latest updates.




Tagged: