Java: getting amount of used ,free,total space in hard disk

I find that jdk 1.6 provides methods in File class to get this data.
But, I require my code to run on JRE 1.5, and I find that these methods are not found.Is there a library available as part of JDeveloper that could be used for this purpose.
Raghuram

all the trials were over.then only i put in forum
thinking that not to waste the time.
but nobody expects answers like "use your own brain
...." in the forum.This wasn't the first answer you got.
The first result of
http://onesearch.sun.com/search/onesearch/index.jsp?qt=free+space&subCat=siteforumid%3Ajava31&site=dev&qp=siteforumid%3Ajava31&chooseCat=javaall&col=developer-forums
results in this link
http://forum.java.sun.com/thread.jspa?forumID=31&threadID=239649
which already provides all the info you needed. It tells you that you have to use JNI, and for Windows systems, which method to call and where to get infos on that. You can't expect me to believe that you found no info anywhere.

Similar Messages

  • Whats the best way to transfer all my pic and vid files from Mac Air to back up drive to free up space on hard disk?

    whats the best way to transfer all my pic and vid files from Mac Air to back up drive to free up space on hard disk?

    Get a third drive if needed, open the Time Machine pane of System Preferences, set it not to exclude that drive, and drag the files to it. If you're moving an iTunes or iPhoto library, launch the application with the Option key held down and choose the moved library.
    (118789)

  • How to free up space in hard disk?

    For a rookie like myself, I'd like to know the best way to fix..."Free up 2271 MB on the hard disk to be able to start-up Parallels".  I downloaded Mackeeper and deleted many files.  And, it's still not enough.  Please advise.

    Get rid of MacKeeper ASAP, This program is useless.
    Follow this guide and you should be good.
    Download and Install AppCleaner
    Download and Install Find Any File
    Run AppCleaner
    Click on Applications
    Select MacKeeper
    Click on Search
    Select all results
    Click on Delete
    Run Find Any File
    Search for zeobit
    Select and Delete all results (except for those already in the Trash)
    Search for mackeeper
    Select and Delete all results (except for those already in the Trash)
    Open Up Keychain Access
    Search for zeobit
    Select and Delete all results
    Search for mackeeper
    Select and Delete all results
    Secure Empty Trash
    Reboot

  • My iPad air has 32 gb, but I am down to about 3 gb.  What should (and how) I get rid of to free up space?

    My iPad air has 32 gb, but I am down to about 3 gb.  What should (and how) I get rid of to free up space?

    Are there apps you don't need or use? Delete them.
    Is there content you've downloaded from iTunes that you can delete (as long as it's available in iTUnes, you can redownload any previously purchased content)
    Do you have any large e-mails in your mailbox? Such as mails with photos.
    Do you have photos that you don't want or need anymore?
    Settings, general, usage can tell you how much space apps are taking up and that can help you choose what needs to go, what's part of the problem, etc.

  • In storage on my Macbook pro, I have 376gigs of other. How do I find out whats in there so I know what I can get rid of to free up space?

    In storage on my Macbook Pro I have 376 Gigs tied up under other. How do I find out what is in there so I know what I can safely get rid of and free up space?
    Thx

    Hi Kevin,
    Welcome to Apple Support Communities.
    Take a look at the article linked below, it provides a lot of great information that will help you identify and remove the Other data from your Mac.
    OS X Mavericks: Increase disk space
    I hope this helps.
    -Jason

  • Hi,  I was wondering if someone can help me. I have a MacBook Pro, it has came up saying I need to free up space on the disk as it full every time it starts up, so I log in and no icons or applications show up on the screen just my background wallpaper, t

    Hi,
    I was wondering if someone can help me. I have a MacBook Pro, it has came up saying I need to free up space on the disk as it full every time it starts up, so I log in and no icons or applications show up on the screen just my background wallpaper, the only thing I can do is the force quit keyboard shortcut but there is nothing to quit, I have tried to start up in safe mode but again there is no icons in the desktop,
    I have my disks that came with my laptop I have went into disk utility to repair disk and I still seem to have the same problem .. No icons or apps or anything lol just the cursor I can only shut down the laptop via power but and the press shut down.
    Please help I am going out my mind with this thing :(
    Thanks x jade

    This can be used to boot the machine and delelte enough files to get it to boot normally.
    .Create a data recovery/undelete external boot drive
    Read about storage drive so you can store your extra stuff.
    Most commonly used backup methods
    Also here to see how a full boot drive slows the machine down
    Why is my computer slow?

  • Updated and smaller Zen Touch using Hitachi's newest C4k60 hard disk

    The new Hitachi C4k60 hard disk is really small and is NOT inside the "actual" Zen Touch:
    Zen Touch hard disk model (Hitachi): HTC424020F7AT00 (red it on a Zen Touch hard disk)
    Hitachi C4k60 model: HTC426020G7CE00 (found it on Hitachi's website, that's the 20gb version, also available in 30gb)
    Obviously, the 2 models aren't the same, and the new C4k60 is "much" smaller (physical size).
    Anandtech's review of the Creative Zen Portable Media Center says that it uses a Hitachi C4k60 hard disk. So Creative are already using those new Hitachi hard disks for some of their products.
    Is it possible that an updated version (smaller of course) of the Zen Touch using this new hard disk appears pretty soon? I really HOPE so...
    I know that the Zen Touch isn't old, but other brands already have smaller 20gb mp3 players using Hitachi's new C4k60 hard disk, so I guess Creative is going to respond with an updated, smaller and even better looking Zen Touch (other improvements like a line-in, "standard removable dri've in windows" and EAX would be welcome to)!
    Can someone confirm this, or give any details/information?
    ThanksMessage Edited by Lazar on 2-27-2004 03:06 AM

    I just saw the archos gmini xs200 in a local shop, had it in hands:
    it's really a nice player, and it's so small for a 20gb one, but from different online reviews, true battery life is only about 8hours and battery isn't removable. This sucks !!!
    Well, i'm goin to wait for a new Zen Touch firmware enablling driverless windows support or an updated gmini xs 200 with a better or removable battery...
    Still no new high capacity portable mp3 for me YET, lol !Message Edited by Lazar on 2-28-2004 :23 PM

  • Trying to free up space on hard drive, with an external hard drive, but don't want to lose the files!

    So I am really stressed out right now.
    I have a macbook pro, with a 750 gb hard drive in it. My internal hard drive filled up  a while back so I bought a 3TB external hard drive. I backed up my files onto my external a while ago, but I don't really remember how... There is a folder on my hard drive that is called " wd smartware.swstor" , and inside that folder is about 1.7 TB of files (when I click 'get info')... So I'm guessing that is where all my stuff is being backed up. But I also moved files from my computer onto that hard drive, like pictures and videos, that I wanted to delete off my internal... So I may have duplicates?
    But my 3TB hard drive is almost full, it has 400GB free on it. And my 750gb internal hard drive on my macbook pro, has filled up again so it only has 10gb free space. So basically I have almost 3TB of files on my external hard drive, and 740gb on my internal.. This can't be right. There is no way I have this many files. I am guessing I have some of the same files on my internal that I do on my external.. Most of my files are high quality HD video files that I imported through final cut pro x....
    So I bought another 3TB external hard drive that I haven't used yet. Basically, I just want to move all my files that are on my internal hard drive (roughly 750gb) onto my NEW external 3TB hard drive- and then delete the files off my internal so I have more free space. I just don't know if these files are already being backed up on my OLD external 3TB hard drive.
    Can someone please help? Thank you!

    craigbuckley wrote:
    If I get rid of my TIme Machine, will I lose all my files from the past?
    Yes it will unless you back it up first out of TM.
    TimeMachine is a self rotating image of your boot drive with saved states,  it manages itself based upon the available space on the drive. As new states are created, old ones are deleted along with older versions of your files.
    Also if you incur a drastic large change to your boot drive, TimeMachine will DELETE older versions of your files.
    TimeMachine is not a archival solution!
    To rescue yourself from TimeMachine, you will first need to save the recent copy of file(s) to the new 3TB, then restore the older version of the file from TimeMachine to the boot drive and then rename it/date it and save that older copy to the new 3TB drive.
    This way you have both the new copy and the old copy of the file pernamently archived on the new 3TB drive.
    Once you have exhausted all of TimeMachines older files, you can free yourself from it, erase the drive.
    For your needs, I suggest this.
    Internal drive and bootable clone
    1: Your internal 750GB boot drive contains active working files.
    2: You have another external drive that's either 750GB or 1TB, you use Carbon Copy Cloner to make a bootable clone of your boot drive, update it when you know you have a stable OS X system on your boot drive and before updates or changes, this way if the update goes bad and the machine will not boot. You can connect the clone, hold the option key down and boot the comptuer from the clone. You then can get online to get help, or simply reverse clone your software problems away.
    CCC has the ability like TimeMachine to save states between clones, it's on be default but you can turn this off as to maintain a pure clone, this is what I advise you do as to avoid confusion. You clone is a perfect copy since the last update of the clone, which you can setup to do nightly if you wish or every few days or every few weeks, whatever.
    Your bootable clone is your lifesaver if your boot hard drive dies or refuses to boot up, you can boot from the clone in seconds and only be slightly off since the last update of the clone. TM won't run the computer like a clone will.
    I highly adise keeping your clone in a very safe place, away from theft, fire, electrical, etc.
    http://www.bombich.com/
    External Storage Drives
    3: Your first external 3TB drive (sans TimeMachine) will be your storage drive, this will contain any files that you don't wish to have on the internal drive and as a result also not on the clone.
    You maintain folders that are dated, with older copies of files in those folders if you wish. This way you can control the space on the drive and not make multiple duplicates of all the large files like TM does.
    For instance if you work on a 100GB project for three days, instead of having three copies taking up 300GB like what TM does, you can rather choose to have just one older copy at 100GB. You can decide you don't need a particular older version of a file and remove it, thus managing your drive space yourself.
    4: Your other external 3TB is a Carbon Copy Cloner backup of the first 3TB, maintain a perfect clone of that as well and update it periodically as your needs change. Since CCC can be schedualed and works in the background, you can have it update your clones overnight or another time your not using the machine. This free's up performance as TM isn't running in the background while your trying to work.
    Also with no TM local cache file, that also will free up space on the boot drive.
    The general rule is you need both hardware AND software protection for your data, thus with too much data to fit on the boot drive, you need a external storage drive and then a backup of that as to maintain TWO hardware copies of your data at all times.
    This method is also scaleable, if you need more room than 3TB externally, you then get another 2 3TB drives, one for the new data and one for backup.
    The bootable clone of your bootdrive is kept in a very safe place, it's designed to protect your OS X investment in software etc. and espectially, to get your Mac booting in as short as a time as possible while you plan on a replacement boot hard drive/repair.
    Read more about the advanced options bootable clones give here.
    Most commonly used backup methods
    With your large storage needs, you basically have outgrown TimeMachine by hitting the hardware limit of drives.
    If there were 10-20TB drives, you likely could keep on going with TimeMachine, but you can't.
    Your clearly in the more "professional" catagory with your storage management needs, not in the TM "newbie to computers" where it's managed for you.
    If your finding your needs are going to exceed 6TB, you might want to consider a external hardware RAID 5 box with 5+ drives, they will self redundancy so if a drive dies you just switch it with a new one and the missing data is copied from the other drives.
    https://en.wikipedia.org/wiki/RAID
    http://www.macgurus.com/
    Good Luck

  • Free up space on Hard drive

    Hi- I'm using 10.4.8 on my new MacBook and was wondering if anyone could tell me if they know what I can free up on the Hard drive to create more disk space? It seems to me that there are quite a few printer files and languages and probably a few other that I'm not sure if I need-
    Can anyone help?
    Thanks in advance,
    macbook   Mac OS X (10.4.8)  

    When I received my BlackBook, the first thing I did was doa clean install of the OS so I could leave all the stuff off that I knew I would ever use. I assume that you do not want to do that now, so you can use a program called Monolingual to remove the languages. You can simple delete the printer drivers that you will not need also.
    Go through the "Applications" folder and you will surely find things that you do not need. I took of the Office Test Drive, Quicken, the games, and quite a few others. Garage Band and the sample loops were a huge disk hog, so out they went.

  • HT3680 how to free up space if startup disk is full

    How do I free up space when the startup disk is full?

    O Trejo, greetings;
    I am not the Wizard but a mere citizen of Oz who wears green tinted glasses as all others do.
    DaisyDisk appears to perform a similar function as OmniDiskSweeper which I still prefer due probably due to my familiarity with it.
    I am not familiar with OSX Server, so I am off the hook on this one.  If you go to the OSX Server forum, there will be forum members who will be able to address your query.  This is the link:
    https://discussions.apple.com/community/servers_enterprise_software/os_x_server
    If you are really nice to them, they may give you a Dog Yummy. 
    Ciao.

  • TS4104 I would like to know if the music I put in the cloud frees up space on my disk ? And can I put my movies in the cloud ? I-tunes and Flixster ?

    1.   I would like to know if my music that I put in the cloud will free up space on my hard drive?  2. Can I move the movies I got on I-tunes to the Icloud ?  3. How about the movies I got from Flixster ? I need to freeup the the disc of the 1.85 GB on music and  2.69 GB on video .

    You have to store the music or movies on your device to listen to or watch them.  Music and movies purchased from the iTunes store is already in iCloud (but not stored in your iCloud account) as it can be redownloaded from the iTunes store if necessary.  Movies from Flixter cannot be stored in iCloud, and music not purchased from theiTunes store can only be stored in iCloud if you subscribe to iTunes Match.
    If you need to free up space on your device, import your purchased media to your iTunes library if it isn't already there by connecting your device to your computer, opening iTunes and going to File>Devices>Transfer Purchases.  Then sync something off your device to free up space.

  • Skype using 100% of CPU and hard disk resources, c...

    So, lately, I switched the hard drives in my computer to migrate from Windows XP and install Windows Vista to my machine, everything was going alright with my machine, until I decided to install Skype, as it's the main communications line with me and the internet, and I noticed it now takes up pretty much all of my CPU and hard disk resources when loading all of my contacts and messages after installation, but it finished loading them, and it still uses a high amount of my resources. Skype uses approximately 250MB of memory (Which is kind of high on a system like mine..), it maxes out the processor at around 95-100% utilization, and the hard drive light is on full, as I hear the read head spazzing out on the thing anyways. I was wondering, is this an issue with the latest version of Skype? I can't use older versions since Skype/Microsoft decommissioned them, and it won't even let me log in to them. Could someone possibly help me with this? 
    My machine specifications are as of follows if it has anything to do with the issue.:
    MSI MS-6741 K8MM-ILSR MicroATX Socket 754 Motherboard
    AMD Athlon 64 3200+ 2.00GHz Single-Core Socket 754 Processor (Currently overclocked to 2.15GHz)
    PNY Nvidia QuadroFX 1100 128MB AGP 8x Workstation Graphics Card
    Hynix DDR 400 PC3200 memory, 1.5GB (1GB + 512MB sticks)
    Seagate Barracuda 7200RPM 200GB IDE HDD
    Maxtor DiamondMax Pro9 5400RPM 80GB IDE HDD
    Creative SoundBlaster PCI
    Windows Vista Home Premium 32-Bit

    So, lately, I switched the hard drives in my computer to migrate from Windows XP and install Windows Vista to my machine, everything was going alright with my machine, until I decided to install Skype, as it's the main communications line with me and the internet, and I noticed it now takes up pretty much all of my CPU and hard disk resources when loading all of my contacts and messages after installation, but it finished loading them, and it still uses a high amount of my resources. Skype uses approximately 250MB of memory (Which is kind of high on a system like mine..), it maxes out the processor at around 95-100% utilization, and the hard drive light is on full, as I hear the read head spazzing out on the thing anyways. I was wondering, is this an issue with the latest version of Skype? I can't use older versions since Skype/Microsoft decommissioned them, and it won't even let me log in to them. Could someone possibly help me with this? 
    My machine specifications are as of follows if it has anything to do with the issue.:
    MSI MS-6741 K8MM-ILSR MicroATX Socket 754 Motherboard
    AMD Athlon 64 3200+ 2.00GHz Single-Core Socket 754 Processor (Currently overclocked to 2.15GHz)
    PNY Nvidia QuadroFX 1100 128MB AGP 8x Workstation Graphics Card
    Hynix DDR 400 PC3200 memory, 1.5GB (1GB + 512MB sticks)
    Seagate Barracuda 7200RPM 200GB IDE HDD
    Maxtor DiamondMax Pro9 5400RPM 80GB IDE HDD
    Creative SoundBlaster PCI
    Windows Vista Home Premium 32-Bit

  • Can I install and use any 2.5" SATA hard disk on my Mac Mini (Late 2012)?

    I have a Mac Mini (Late 2012) which is currently housing a 500GB SATA hard disk. Unfortunately read errors have been detected and it seems to be slowing down. I want to replace this with another 500GB SATA hard disk and I was wondering whether any notebook (2.5") hard disk would work or whether I have to look for one with specific specs (such as RPM, SATA version, etc).
    Any help would be greatly appreciated.

    Any 2 1/2 inch STA HD will work as long as the height is 9.5 mm or less. All most all meet this requirement except very larger capacity ones
    I would opt for a SSD since those are a lot faster than a 2 1/2 HD and now they are very reasonably priced.
    You can consider installing a second disk to using:
    http://eshop.macsales.com/item/OWC/DIYIMM11D2/

  • Trying to use my iPod as a hard disk

    The iTunes tutorial, under "Other ways to use your iPod," gives specific instructions for enabling "your iPod to work as a portable hard disk," but the instructions do not follow what I see on my screen ("Select your iPod in the iTunes Source list" is one of them (there is no such thing. "Click the Options button on the lower right corner..." isn't there, either). Can anyone please tell me how I can set up my 3G iPod as a hard disk so I can transfer music and podcast files there without going through iTunes, which is a program I find excessively intrusive? Thanks. --Fred Powledge.

    Connect your iPod and when it shows in iTunes click on it's icon to bring up the preference tabs in the main pane. In the Summary tab check the box "enable disk use" and click the Apply button in the right hand corner: Using your iPod as a storage drive

  • Using iPod Video as USB hard disk

    Can someone advise me how to use the iPod Video as USB hard disk without affecting my data in iPod player. Thanks!

    You just need to enable your iPod for disk use, this will not affect whatever else you have on your iPod. This page may be of some help: Using your iPod as a storage drive
    Something else to be aware of when using an iPod enabled for disk use is that the "Do Not Disconnect" message will remain on the display until you physically eject the device: Safely Disconnect IPod

Maybe you are looking for

  • While creating a PO (GL Error)

    Hi FI Gurus, When i am creating a PO through ME21N so system is automatically taken the GL but system is giving error on this GL. The error is: Comparison of the field selection strings from the G/L account 604310 and the account assignment category

  • Balance in transaction currency - Message no. F5702 During Depreciation Run

    Hello All, When trying to execute the depreciation run, I get the below error Balance in transaction currency     Message no. F5702 Diagnosis     A balance has occurred in transaction currency 'USD' with the followin     details:     Exchange rate '0

  • FW 8 vs FW MX 2004 vs FW MX

    I would appreciate an analysis from those of you who have climbed the upgrade path (vs buying in at the top) about the substantive differences between the three versions in the subject line. I own FW MX and have not used it much in the past but now a

  • Why my iPad 3 calendar on iOS 5.1.1. keeps shutting off, when trying to open it?

    Hi! I noticed that other had a same kind of a problem, but in my case I can't  open the calendar even for a peek... I´ve deleted an event from 1th of April, but still the same problem! I used iCloud for that one. This is a very disturbing problem, du

  • Alt-F9 not captured in Word 2003

    Hi, I'm trying out Captivate 3. I'm new to Captivate, but not to authoring, and I took a Captivate course about 6 months ago. My problem is that I'm trying to capture a Word 2003 procedure that includes the keystroke combination Alt-F9 (toggle field