Java Web Service doesn’t start — Bad installation. No JRE found in configuration file

Got some problem with the lastest java?

After the last java upgrade Apple removed a Java plugin from all Mac-compatible Web browsers.

Java Web Start splash screen process exiting .....
	Bad installation. No JRE found in configuration file

Apple has updated Xprotect anti-malware, stopping all Java Web Components with a version number below 1.6.0_37-b06-435. Unfortunately, this Java version is not yet available.

An easy solution is to run this command:

sudo /usr/libexec/PlistBuddy -c "Delete :JavaWebComponentVersionMinimum" /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.plist

This will remove the key that refers to the minimun version.

JavaWebComponentVersionMinimum
1.6.0_37-b06-435

31 comments

  1. May I reiterate the praise for your post. We have been locked out of our invoicing software all day until I saw this post. It allowed the Java launcher to work as needed. Thanks a million.

  2. Thank you very much. This fix worked for me. This worked yesterday, but not today. I didn’t update anything. I am running:

    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)

    What could have happened between today and yesterday?

  3. Well commenting out that line will allow ANY 1.6 to be used for Java WebStart and so _may_ be a _security issue_!

    An update to the Apple Developer 1.6.0_38 should solve the problem as well.

      1. Hi Ben,

        Then I would do something else.

        Open with an editor for example “vi” this file

        /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.plist
        

        Inside near the end look for the following lines:

        <key>com.oracle.java.JavaAppletPlugin</key>
          <dict>
            <key>MinimumPlugInBundleVersion</key>
            <string>1.7.11.22</string>
          </dict>
        

        and comment them out

        <!-- 
        <pre>
        <key>com.oracle.java.JavaAppletPlugin</key>
          <dict>
            <key>MinimumPlugInBundleVersion</key>
            <string>1.7.11.22</string>
          </dict>
         -->
        

        Now if you want to roll back, remove the comments. Easy.

        1. Your second solution works too. Thanks. I just already did the first fix that you posted on another machine and I want to un do it to avoid the security risk.

    1. Hi bbrown,

      Probably with this

      # disable the xprotectupdater job
      LAUNCHD_JOB_PLIST="$3/System/Library/LaunchDaemons/com.apple.xprotectupdater.plist"
      /bin/launchctl unload -w "$LAUNCHD_JOB_PLIST"

      But I didn’t test it and I wouldn’t do it. I would install the latest Apple Developer 1.6.0_xx instead.

      What version do you have at the moment?

  4. Hi,

    i almost quit using mac due to this java update. you saved me.

    I did the following as you suggested. However after rebooting my mac, this update goes away. Some process is updating it back when i reboot my mac. is there a way i can make this permanent.

    <!–

    com.oracle.java.JavaAppletPlugin

    MinimumPlugInBundleVersion
    1.7.11.22

    –>

  5. Thanks for sharing this, it has been a lifesaver for me for a number of months now until recently it no longer seems to work. I t was working before but now when I use this in the terminal this is what it says:

    Delete: Entry, “:JavaWebComponentVersionMinimum”, Does Not Exist

    Is anyone else getting the same issue? Is there a new work around?

Leave a comment