Thursday, June 18, 2009

How to Fix Java Web Start After Installing Java for Mac OS X 10.5 Update 4

Java for Mac OS X 10.5 Update 4 was more than a security fix. It also moved the Java Web Start application from the /Applications/Utilities/Java/ directory to /System/Library/CoreServices/. This broke all Java Web Start applications that were launched from anywhere other than the command line. (The command line application for Java Web Start can be found at /usr/bin/javaws.)

In order to restore the desired behavior for Java and JavaFX web applications that are launched either from a web browser or from a previously downloaded Web Start file, the Finder needs to be told what to do with JNLP files. One way to do this is to Get Info on any JNLP file in the Finder, as shown here:



The image above shows that TextEdit is the application that will open the JNLP file. Instead of TextEdit.app, the combo box should show Java Web Start.app as the default application to open all JNLP files, as shown here:



Click on the combo box and select “Other...”, then navigate to the “System” folder, then the “Library” folder, then the “CoreServices” folder, and select the “Java Web Start.app” file as shown here:



Select the “Always Open With” checkbox. Click the “Add” button and close the “Get Info” window.

That's it! Now all Web Start applications will launch correctly either from a web browser or from the Finder.


7 comments:

  1. Thank you! Thank you, thank you. This saved me a lot of time this morning.

    ReplyDelete
  2. Thank you very much for your information!!!

    ReplyDelete
  3. Patrick,

    I wanted to see if you were interested in the following job opportunity for a MAC OS X Software Engineer. Please take a look at my Wordpress blog which list our job descriptions:
    http://infusionrecruitingjobs.wordpress.com/2009/08/10/osx-software-engineer-milpitas-ca/

    If you are interested, I would like to speak with you.

    Lindsey Glass
    Infusion Recruiting Solutions
    512-379-0308 x102
    lindsey@infusionrecruiting.com

    ReplyDelete
  4. Thank you thank you thank you!!!!

    ReplyDelete
  5. Thank you!!!!! i am gratefull
    Magnus

    ReplyDelete
  6. This fix no longer seems to work. Do you have any updated advice for those of us still using Java 6?

    ReplyDelete
  7. I am using java 7 and can not get "the bay" to work. no info online for this???

    ReplyDelete