Problem with files: open with applications

Hi to all!
I have this problem:
I have a little application in java and I make a button... when i press this button I wanna that the file named "example.pdf" will be opened with "pdf preferred application in OS" (for example in Windows xp , Acrobat 8)
Can anyone help me?
thanks!
tommaso

Set your default apps the way you want them.
Navigate to ~/Library/Preferences/ and make sure the file com.apple.LaunchServices.plist is present and has a creation or modification date/time that matches the time when you set your last default application.
Reboot.
Navigate back to ~/Library/Preferences/ and make sure com.apple.LaunchServices.plist is still there and does not have any permissions issues.

Similar Messages

  • When I open Firefox the following alert appears: "Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory." There is a solution in the forum but only for Windows based

    When I open the application the following alert appears: "Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory." There is a solution on the support site but only for Windows-based Firefox, and I'm a Mac user. I have plenty of room on my hard disk.
    == This happened ==
    Every time Firefox opened
    == Two days ago, for no apparent reason.

    In Mac OS X v10.7, the $HOME/Library folder is a hidden folder.
    Open Finder and use one of these:
    * Go > Go To Folder (Shift-Command-G) and in the dialog type: ~/Library
    * Open the "Go" menu and hold down the Option key to make the Library appear
    You can also use this command in a Terminal window to remove the hidden flag.
    * Mac HD > Applications > Utilities > Terminal
    * chflags nohidden ~/Library

  • I suddenly have this error message on FireFoxthis message pops up: "Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory. Please check that this directory has no re

    I suddenly encounter this error message from Fire Fox.
    Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory. Please check that this directory has no read/write restrictions and your hard disk is not full or close to full. It is recommended that you exit the application and fix the problem. If you continue to use this session, you might see incorrect application behaviour when accessing security features.
    I uninstalled the browser and download a new version but it does not resolve the issue.
    I know my hard disc has ample space. I do NOT know where to find the Profile directory to fix the read restriction box.
    == This happened ==
    Every time Firefox opened
    == After something about security add-on of Norton pop up by itself. ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; MSN Optimized;US)

    This link shows things to check - https://support.mozilla.com/kb/Could+not+initialize+the+browser+security+component

  • New WIN7 System, FFox gives error "Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory" - will not go to any site.

    New Windows 7 computer. After installing Firefox, every time I bring it up I get the following message:
    "Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory. Please check that this directory has no read/write restrictions and your hard disk is not full or close to full. It is recommended that you exit the application and fix the problem. If you continue to use this session, you might see incorrect application behaviour when accessing security features."
    Then Firefox comes up, but will not function at all - can enter url address, but will not respond to ANY clicks, so can not go to any site.

    This link shows how to fix this - https://support.mozilla.com/kb/Could+not+initialize+the+browser+security+component

  • This message [Ubuntu repositories or Mozilla download: " There is no Profile folder Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory....

    Ubuntu 11.04: I have been getting this message whenever I install Firefox from the repositories and downloading the tar file. I cannot use Firefox! " There is no Profile folder Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory. Please check that this directory has no read/write restrictions and your hard disk is not full or close to full. It is recommended that you exit the application and fix the problem. If you continue to use this session, you might see incorrect application behaviour when accessing security features."Firefox does not respond to any addresses or a google search. Indeed it responds to nothing. There is no Profile folder!

    Uninstalling Firefox on Linux
    * http://kb.mozillazine.org/Uninstalling_Firefox#On_Linux
    * http://kb.mozillazine.org/Installation_directory#Linux
    * Removing user profile data - http://kb.mozillazine.org/Uninstalling_Firefox#Removing_user_profile_data
    After all is done, Restart your system.
    Installing Firefox on Linux
    * https://support.mozilla.com/en-US/kb/Installing%20Firefox%20on%20Linux
    Check and tell if its working.

  • What does the error - file open with write privilege mean?

    When exporting an iMovie, I received the error message, file open with write privilege - what does that mean and what causes it?

    Hi
    Error -49
    Error -49  opWrErr  File already open with write permission
    Trash the preference files while application is NOT Running.
    Yours Bengt W

  • How change the File Open With list of apps?

    In Bridge CS3, how does one edit the list of applications in the File > Open With menu (also available from the contextual menu for any image).
    The list contains a number of applications that I would never use to open an image, and I would like to add to it, a new image editor (pixelmator) that does not appear in it. I have looked in the Bridge Help and the Preferences dialog and don't see any option to do this.

    OK, I have now learned that Mac OS keeps the list of which apps to open what, in the "launch services database."
    This database can be cleaned up and reset which somewhat simplifies the list that is displayed by the Finder OR by Bridge CS3.
    Here is an article on how to reset the launchdb:
    http://www.macosxhints.com/article.php?story=20031215144430486
    Be sure to read all the way to the end as there are updated instructions down among the comments.
    Here is a thread in the Apple Support forums discussing the same issue, and it includes links to some 3rd-party programs that can reset launch services without use of a lengthy Terminal command:
    http://discussions.apple.com/thread.jspa?messageID=1289317
    Even after rebuilding the launchdb, I find that a large number of apps are "registered" to open JPG files, including Camino, Opera, TextWrangler and others with only a tenuous connection to JPG. I don't understand why this is, and I would still like to find a way to limit the JPG Open-With list to a few graphics programs. But cleaning up the launchdb as described in the linked pages, did get rid of some programs and added some missing ones.
    Hope this actually constructive info is useful to others.
    Dave Cortesi

  • Problems changing the Open with... setting

    Hi,
    Having recived my new MacBook Pro with the trial version of Office 2004 I removed this using the remove utility as I have the full version of Office X.
    However, I get the error code -10660 when I try and open documents. I have tracked this down to the fact that the default Open with... setting is Word 2004 etc.
    I can manually select the correct program to open these files with, but when I set it so that all files with .doc open with this older version of Word it defaults back to the new version. (I am using the Change All... option under the Get Info option).
    If I manually do this using Open with.. for each file it works, but this is both time consuming and silly.
    iMac G5, MacBook Pro   Mac OS X (10.4.5)  

    Missed the post above. Running this at the terminal did fix the problem:
    /System/Library/Frameworks/ApplicationServices.framework/\
    Frameworks/LaunchServices.framework/Support/lsregister \
    -kill -r -domain local -domain system -domain user
    The question was, why should I have had to have done this!!

  • CC14, all files open with asterisk in file name.

    CC14, all files open with asterisk in file name, need to save or cancel to close file. Is there a way to change that?

    No. It happens to any InDesign file. I created a new file in CC14, saved, closed, opened and it had the asterisk.
    If it is a time synchronization, how do I correct that?

  • Flash files open with no timeline

    I just uprgraded my Mac OS from 10.4 to 10.6. Now some of my Flash files open with no timeline and nothing on the stage. If I try to open a library item it crashes. I tried reinstalling Flash and installing all updates to the OS… no luck. Help!

    I was able to open it on an OS 10.3 machine. After deleting the preloader from the stage, the fie works again on a 10.6 machine.

  • PDF's with images open with dark (mask) overlay..not true in Explorer...how to change setting?

    When browsing in Firefox, some links to PDF's that I open, those with images, open with a dark mask overlay. I have have searched around in the VIEW menu with no luck. This does not happen when I open the same PDF links in Windows Explorer so it must be Firefox setting that I need to change. By the way, I have Adobe Creative Suite 4 installed on my computer.

    When browsing in Firefox, some links to PDF's that I open, those with images, open with a dark mask overlay. I have have searched around in the VIEW menu with no luck. This does not happen when I open the same PDF links in Windows Explorer so it must be Firefox setting that I need to change. By the way, I have Adobe Creative Suite 4 installed on my computer.

  • Linux: downloaded files open with the wrong application

    I'm using Firefox 31.0 on Ubuntu 14.04.
    I've downloaded a DJVU-file. The filetype association on my PC is to open it in evince. However, when I use the drop-down download menu in the toolbar, where the last downloads are listed, to open the DJVU file, it is opened with gedit. If I select "Show All Downloads" and double-click the downloaded DJVU in the window that opens up, then it is correctly opened in evince.
    What happens here? Why does Firefox use gedit for the drop-down list but the correct application in the library window? How can I fix this?

    Thank you for your reply!
    Well, this is not precisely what I wanted to do: my option in the Application settings is set to "Always ask", and this is what I would like Firefox to do. However, after the file is saved, I expect that it is opened with my system's default application for DJVU files, but Firefox just keeps opening it with the text editor (gedit) if I click on the file in the download drop-down menu in the toolbar.
    Meanwhile, I have figured out how to fix it, however I find that this should work from the beginning without having to fix it.
    The problem was that in the application settings there was no default application set for that file type, although my system specifies one (see first picture).
    After I have selected "User other..." and set it to my preferred programme for DJVU files (evince), the menu has changed (see second picture). Now, even if I leave the option "Always ask" set, the correct application is used for opening that file type.
    There are several questions which I am wondering about:
    1) Why is this not set to system's default application if the user has not manually specified anything else? I think using the text editor instead is not the best option.
    2) Why is the behavior in the downloads window (="Library") different from the drop-down menu? Even with the default programme not set in the applications preferences, clicking on the file in the downloads windows opens system's default programme.
    I am not sure if this is the desired behavior, for me it seems slightly inconsistent.

  • Hyperlinked files open with Pro even though Reader is default PDF application

    Hello.
    I have a Windows 2008 x64 Server that I have installed both Adobe Pro X and Adobe Reader X on. I have installed Pro first, then Reader, both with MST files, so that Reader is the default PDF viewer. Reader shows as the default program and if you double click on a PDF document, Reader does indeed open. However, if a hyperlink in Word or some other document points to a PDF file, Adobe Pro opens instead. I need to make Reader the default application for all references to PDF files, but I need to keep Pro and Reader installed on the server at the same time.
    Any help would be greatly appreciated.
    Thanks,
    John

    That was always set correctly.  However, I did uninstall and reinstall Reader with a newer patch.  It seems to be the default for even embedded PDF files now.  The new problem is Reader now asks for the user to select a language before opening, but it does this only with embedded pdfs.  Double clicking on an actual pdf file opens Reader with no issues.

  • Problems with "File Open" and "File Save As" in Tiger

    I recently upgraded to OS10.4.3 on my PowerBook G4 and ever since I have had only frustration upon frustration with this new version.
    When launching a program whether it be QuarkXpress 6.5, Illustrator CS, Photoshop CS, InDesign CS or Acrobat 6.0 and you go "File Open", it can take up to 3 minutes before the "Open" window dialog box will appear so that you can access your files. The same applies to the first "File Save As" in any of these programs. After that everything works normally.
    Has anyone experienced this problem with Tiger and is there a solution? I should be most grateful for any assistance.
    Leon
    PowerBook G4   Mac OS X (10.4.3)  

    I got so frustrated with iDisk that I did indeed turn mine off altogether. Now I just mount it when I need it, and do whatever I want to do manually. And it is STILL annoyingly slow, not only in its own operations, but in the way it hijacks the Finder and can sometimes bring all Finder operations to a grinding halt.
    I keep a local copy of the all the files I have on my iDisk in a perfectly normal folder. And I keep looking forward to the day when the promised seamless operation of my local files and iDisk will actually work.
    I've been waiting for several years and thru several different incarnations of the OS, and it ain't there yet. I think Apple's version of WebDAV is just really really bad. I've heard other WebDAV servers work better. And I figured it was a bad sign when, back in Panther, one of Apple's own helpers recommended a third party WebDAV software (Goliath) to access the servers rather than using the Finder. I didn't think things could get any worse--until Tiger came along. A bad situation can get worse, and it did.
    Maybe when Leopard gets here.....
    Francine
    Schwieder

  • Problems with files opened in Photoshop from Lightroom

    Hi,
    I started editing a large number of files recently and came upon strange problems when sending files to Photoshop from Lightroom:
    1. Sometimes, all edits will be transferred to Photoshop except for the Lens Profile Correction. I tried clearing all changes and starting again, and it didn't work. However, if Lens Profile Correction is the ONLY change I make in Lightroom, it is correctly shown when the file is opened in Photoshop. [EDIT: I thought it was only the Lens Profile Correction, but with some files it appears other edits are disappearing too, such as cropping.]
    2. Sometimes, and I can't seem to find any pattern for this, files I sent to Photoshop will open as only "slices" of images. In fact, there is only one sliver of the image that gets opened. Sometimes it is a vertical line, sometimes a horizontal line, usually about 1/20 as thick as it is long. For that problem, I haven't found a solution yet.
    I am using the latest versions of Lightroom, Photoshop and Camera Raw, with RAW files created with a Nikon D7000 camera, on an iMac from 2011. I have no software or hardware problems apart from this.
    Here's hoping someone can help.
    Thanks!

    Fireworks doesn't save or export in Quicktime format.

Maybe you are looking for

  • Batch characteristic validation

    Hi, I have process inbound idocs, where I have to create batch numbers for materials if they do not exist and correspondingly batch characteristics too. I used functions BAPI_BATCH_CREATE , BAPI_OBJCL_CREATE and for the existing characteristic values

  • WAE Cluster

    We currently have a hub and spoke design with WAE's at our data center and serveral out at remote sites all terminating back to the data center. I was wanting to create a cluster between two WAE's in a new environment we are standing up with the same

  • Logging user commands in Cisco ACE appliance

    Good afternoon gentlemen I need to configure the same as shown below in Cisco ACE Appliance. The requirement is logging all user access login (whether failed or succeeded) and also logging all commands that users issue. #IOS commands no logging conso

  • Hotsync Manager crashes and tray icon disappears

    Hi, whenever I try to run Hotsync on my computer (XP Pro) the program immediately crashes and the icon disappears from the systray. I tried to uninstall and reinstall the whole thing, reboot my pc, etcetera, but it keeps crashing. This is the error I

  • If i want to learn unix-HP for SAP at first stage, please help me.

    Dear Friend, If i want to learn unix-HP for SAP at first stage, please help me. Thanks, Regards, sachin