how can i get free disk space left ?

hi,I want to know about free disk space left on windows as well on Linux platform.how can i do that ? using java coding ?is there any idea please give me solutions....
[195 byte] By [Ghanshyama] at [2007-10-3 5:23:04]
# 1
Did you try to make a [url http://onesearch.sun.com/search/onesearch/index.jsp?charset=utf-8&col=developer-forums&qt=free+disk+space&y=0&x=0&cs=false&rt=true]search[/url]?Mike
bellyrippera at 2007-7-14 23:30:08 > top of Java-index,Java Essentials,Java Programming...
# 2
Short answer. Hard to solve using only Java, but the feature is added to JDK 1.6Kaj
kajbja at 2007-7-14 23:30:08 > top of Java-index,Java Essentials,Java Programming...
# 3
i have tried a lot then i am posting this question..first i tried to find solution but not get so post it on forumany prob /
Ghanshyama at 2007-7-14 23:30:08 > top of Java-index,Java Essentials,Java Programming...
# 4
> any prob /No, but the question is frequently asked so it would be pretty easy to find a post which says the same thing as I did.Kaj
kajbja at 2007-7-14 23:30:08 > top of Java-index,Java Essentials,Java Programming...
# 5
No, no problem, after you have tried, it's OK. So you searched and found some suggestions, tried them and they did not work. Can you tell us what have you tried and which parts of it did not work, so we can help you complete the task?Miks
bellyrippera at 2007-7-14 23:30:08 > top of Java-index,Java Essentials,Java Programming...
# 6
Use java 1.6: http://java.sun.com/javase/6/docs/api/java/io/File.html
John_Owena at 2007-7-14 23:30:08 > top of Java-index,Java Essentials,Java Programming...