2 Replies Latest reply: Nov 6, 2012 3:45 AM by erikkri
yabbanoname Level 1 Level 1 (0 points)

Hi,

 

I updated last week my OSX Mountain Lion with the java for 2012-006 which disables the java web start and plugins.

I need however both web start (for starting .jnlp files) and plugins (vpn access).

Was able to restore some stuff from timemachine, currently my system is showing having java 1.6.0_37, my java preferences are showing Java Web start enabled (also the /Users/$USER/Library/Preferences/ByHost/com.apple.java.JavaPreferences.${MAC_UU ID}.plist shows this), but starting a .jnlp file,  asks me every time to enable Web Start Applications and the launch fails.

 

Using java7 doesn't solve my problem either, the application itself does not run yep in an java7 environment.

 

Ramón

 

 

---

java version "1.6.0_37"

Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)

Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)

  • 1. Re: Java webstart after java 2012 006
    yabbanoname Level 1 Level 1 (0 points)

    Did find the fix myself, besides the restore from timemachine, the correct definition of de symbolic link to /usr/bin/javaws was the fix.

    The complete solution:

     

    Restore from timemachine 

        /System/Library/Java/Support/CoreDeploy.bundle

    and /Applications/Utilities/Java Preferences.app

     

     

    /usr/bin$ ls -l javaws

    lrwxr-xr-x  1 root  wheel  76 Oct 18 12:23 javaws -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/javaws

    /usr/bin$ sudo ls -l javaws >~/javaws.oldlink

    Password:

    /usr/bin$ sudo rm javaws

    /usr/bin$ sudo ln -s /System/Library/Java/Support/Deploy.bundle/Contents/MacOS/javaws javaws

  • 2. Re: Java webstart after java 2012 006
    erikkri Level 1 Level 1 (0 points)

    The official answer from Apple:

     

    http://support.apple.com/kb/HT5559