How to delete in iTunes for Mac some PDF files, previously synched with iPhone and then deleted from it?

A while ago I synced some PDF files from my iTunes to my iPhone.  I've deleted those PDF files from my iPhone recently but now i'm trying to delete them from iTunes but can't.  How can this be done?
P.S. Tried to select/highlight them (OK) and then to delete with cmd+Backspace - doesn't work 

I am sure the URLConnection.defaultUseCaches is set before it is connected otherwise I should catch an IllegalStateException on conn.setUseCaches(false).
        try
            URL url = new URL("jar:file:/C:\\a.jar!/a.gif");           
         URLConnection conn = url.openConnection();
           conn.setDefaultUseCaches(false);
         conn.setUseCaches(false);
            Icon icon = new ImageIcon(url);
            System.out.println("icon size ? " + icon.getIconHeight());
            url.openConnection().getInputStream().close();
            System.gc();
         System.runFinalization();
            File file = new File("c:\\a.jar");
            while (file.exists())
                file.delete();
                try
                    Thread.sleep(10);
                catch (InterruptedException ignored)
            System.out.println("file deleted.");
        catch (Throwable t)
            t.printStackTrace();

Similar Messages

  • How can I sync "On My Mac" iCal calendars on Snow Leopard with iPhone and Google Calendar?

    Hi,
    (I've done a lot of searching for a clear answer but without success.)
    Can someone please advise how I can get the "On My Mac" calendars on iCal v4.0.4 (running under Snow Leopard 10.6.8) to sync with an iPhone and Google Calendars,  'over the air' (i.e. not via iTunes) and both ways (two-way syncing).
    There was a great bit of software called Spanning Sync which did it all but it's now discontinued. I'm running Snow Leopard and do NOT want to upgrade to OS Lion.
    I've tried the iCloud route but it just creates an extra set of "@me.com" calendars under the "On My Mac" calendars - it is not syncing the "On My Mac" calendars themselves (and I want to use the "On My MAc" calendars as the master dataset (the 'Truth database' to use an Apple term!).
    ... And the same happens when I try to sync my Google Calendars: another set of "@google.com" calendars appear.
    Now instead of 2 calendars in iCal I have 6: 2 On My Mac calendars, 2 iCloud ones, and 2 Google ones. (This is not progress Apple!)
    Hope someone can advise.
    Many thanks.

    Thanks Winston.  I'm aware that the 'on my mac' calendar doesn't get picked up by iCloud.  I'm wondering whether anyone can help with the best alternative solution for synchronisation of phone and Outlook.

  • Just upgraded to iOS5 on ipad2 and now have all my old emails to delete. Is there a way to select all like in trash and then delete all?

    just upgraded to iOS5 on ipad2 and now have all my old emails to delete. Is there a way to select all like in trash and then delete all?

    Thanks for the feedback, the question is that it will syn all the folders that I have checked, and its total up to 6000 photos which was taking me one whole day to syn. I am seeking is there away that what have already in my Iphone will not be delected if I did not checked on the next syn, and only add in the new album that was checked.

  • How do i update itunes for mac?

    how do i update itunes for macbook pro? i updated my phone and now i cant connect my phone and computer in itunes

    Open iTunes and click on the iTunes icon in the upper left of the menu bar. Select "Check for Updates..." From there you can update. Or open the App Store and select the Updates tab.

  • Sync itunes with atv and then delete itunes content? possible?

    i have a mac book pro with a 80 gb hdd... i'm running too short of space because i have movies and music in my itunes...
    is there any way to send this movies to an apple tv and watch them from there, so i can delete them from my hdd and save space?...

    There are two parts to consider, moving some of the content to another location and then maintaining a split library.
    To move your movies simply copy them to their new location, you'll find movies in a folder called movies in your itunes music folder which by default is your music folder. Then you can delete the originals by selecting all the movies in itunes and deleting them and choosing to move originals to the trash when prompted.
    Now select all the movies you have on your external drive while holding down the 'alt' key drag them into the itunes window. This will put them into itunes without copying them to your itunes music folder again.
    Once this is done and you are certain your movies work as expected you can now empty your trash.
    From now on when you add content to itunes you will need to decide where you want the original to go, dragging anything into itunes will copy it to your itunes folder which is fine for your music but not what you want for movies. So when you add movies, copy them to your external drive and then from there use 'alt' + drag and drop into the itunes window.
    Does that make sense.

  • How do I get iTunes to sync working PDF files to iPad (iBooks)?

    iTunes is synching PDFs into its books section (I can confirm the latest file times) but not passing the updated PDF to iPad iBooks during syncs (the file is selected for sync).  How do I get iTunes to sync the latest PDF to iPad without manually deselecting and then reselecting to force a sync?

    The problem here is that iTunes wants to make sure that the songs that were purchased are sent to the same device that purchased them.  In this case, you would need to authorize your computer first.   This is as easy as opening iTunes, find "store" in the upper status bar, and select Authorize This Computer.   A dialogue will pop up asking for your iTunes ID and your password.  Enter the ID you purchased the songs with.  Afterwords, you should be able to sync the songs.

  • Why do some pdf files not open with Adobe Reader X, most open OK?

    On my wife's 64 bit WIN 7 computer, a some pdf files will not open, but most open OK.
    She uses Acrobat Reader X and MS Office 2010.
    The same problem files open with no problem on my very similar computer.
    Is the problem with some setting on the Acrobat Reader or something else?
    Sometimes there is this error message when the problem files do not open:
    Find Click2run64.msi file to install MS Office Click to Run.
    But MS Office Click to Run is already installed on her PC.  It is not on my PC.
    Thanks for your help.

    The latest Reader is 11.0.01, not 11.0.1.  It is named Adobe Reader XI.
    I did uninstall the Reader X and installed this latest one.
    But it did not solve the problem, still could not open the problem pdf's .
    I did find the problem was caused by the MS Office Click to Run error referred to in my original message.  As far as I know we have no use for that on my wife's computer. Not sure how it got there.   I uninstalled it and so far the problem pdf's open fine now.  Problem solved.
    Thanks for your help.
    Frank M.

  • How do i get itunes for mac operation system 10.5.8?

    as the headline says i need to get itunes for 10.5.8 operation system. The current version of itunes that i have on my mac cannot put music on my macbook. Can any of you sent a link to itunes that will work on my computer?, or will i have to upgrade my macbooks system to a later one?.

    I don't know what you mean by "cannot put music on my macbook", but the most recent version of iTunes that will run on Mac OS X 10.5.8 is iTunes 10.6.3, which if Software Update doesn't install it can be downloaded here:
    http://support.apple.com/kb/DL1575
    Regards.

  • I can't delete an itunes account that my xhusband also has on his iphone and my email account as well.  He can read my emails but I can't delete this itunes account because I can't access it for various reasons.  Short of paying apple to delete is a way?

    I still think my xhusband can see my emails on his iphone since I had downloaded an app on his iphone using my itunes account. Now I can't get into this account for various reasons.  Is there any way of deleting this itunes account short of paying apple to do it?

    You can't delete an iTunes accounr/Apple ID. All you can do is stop using it. What you can do is change your Apple ID password, as well as the password for your email account. That will put an end to this.

  • How to use iCloud Drive for opening a pdf file in iphone

    Hello,
    I would like to know if I need some app for opening a file pdf in iCloud.
    I put several pdf file in iCloud but, I can not read it
    how I should to do?
    Thank you very much, Luis

    luisfromarg wrote:
    Hello,
    I would like to know if I need some app for opening a file pdf in iCloud.
    I put several pdf file in iCloud but, I can not read it
    how I should to do?
    Thank you very much, Luis
    There are thousands of apps for that.
    Try Adobe Reader.

  • Is it possible for two people to use one iMac with iPhone and iPad separate iTunes and iCloud acc?

    Apologies if this is a very obvious question. I have one iMac that my husband and I use, he has an iPhone that he syncs with the iMac via iTunes for app such as docs to go. I recently purchased an iPad, I want to also sync with the iMac. Is it possible to use two iTunes and two iCloud acc to one iMac? We would like to pick and choose what we sync as we keep separate docs etc on the iMac, can this be done?

    Yes.  Just set up your own account in System Preferences > Accounts (User &groups in Mountain Lion).  You'll have your own seperate everything including mail.

  • Word, Excel & powerpoint How to upload to iCloud so it can synch with iPhone and iPad?

    Need help on this How do i upload my word document or excel spreadsheet and powerpoint slides from my mac air to icloud?  Do i hvae to buy keynote, pages etc to be able to do this?

    hhhmmm,,
    Its been about 5 months since you posted this question - but I figure nobody has answered you.
    not sure if you still are looking for the answer, but you can just upload them when you login to iCloud.com
    They will appear on your ipad - Powerpoint is presentation software, so you will need to upload under the keynote section.
    Have Fun:-)

  • How to access pdf files on icloud with iphone

    Does anyone know how to access pdf files on icloud when saved to icloud on a mac?

    At the moment, you can't.  A favourite complaint.  Hopefully, the situation will change in the near future, but only Apple knows when or if.

  • How do i get itunes for mac os 10.5.8

    I have a five year old macbook pro. I recently had to reboot the os, and now my computer reads that I cannot get into my itunes. So I tried to download itunes again, but that seems to require snow leopard. Can I download an older version of itunes that will work with os 10.5.8, or do I have to buy 10.6 and download the new itunes?

    enoch49337 wrote:
    I have a five year old macbook pro. I recently had to reboot the os, and now my computer reads that I cannot get into my itunes.
    What exactly is the message?

  • How can I download iTunes for iPad Air?

    Any idea about how I can download iTunes for my iPad Air? If it it is to be downloaded from the App Store, what is the name of the App?
    Plus, how do I sync it to my iTunes library on my Windows PC?

    The iTunes App on an iDevice is not the same as the iTunes Application for a computer.
    Arun_Apple wrote:
    ... how do I sync it to my iTunes library on my Windows PC?
    Make sure you have the Latest Version of iTunes (v11) Installed on your computer
    iTunes free download from www.itunes.com/download
    SYNCING with iTunes
    See here  >  http://support.apple.com/kb/HT1386
    More Info here  >  http://www.apple.com/support/ipad/

Maybe you are looking for