You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

restart disables javaws again

Today after restart the javaws refused to work again (after been fixed 2 months ago with http://support.apple.com/kb/HT5559).

Removed the plugin JavaAppletPlugin.plugin again, and still didn't work.

the symbolic link for /usr/bin/javaws was stil active:

$ ls -l /usr/bin/javaws

lrwxr-xr-x 1 root wheel 64 Oct 23 11:20 /usr/bin/javaws -> /System/Library/Java/Support/Deploy.bundle/Contents/MacOS/javaws


Starting javaws from command line with url shows:


Java Web Start splash screen process exiting .....

Bad installation. No JRE found in configuration file: No such file or directory


Anybody knows the fix for this one ? (advise don't restart before you know the fix).

Posted on Jan 31, 2013 12:43 AM

Reply
75 replies

Jan 31, 2013 3:30 AM in response to htilly

This solved our problem:


/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.p list


<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<!--

<key>JavaWebComponentVersionMinimum</key>

<string>1.6.0_37-b06-435</string>

-->

<key>LastModification</key>

<string>Thu, 31 Jan 2013 04:41:14 GMT</string>

<key>PlugInBlacklist</key>

<dict>

<key>10</key>

<dict>

<key>com.macromedia.Flash Player.plugin</key>

<dict>

<key>MinimumPlugInBundleVersion</key>

<string>11.3.300.271</string>

</dict>

<!--

<key>com.oracle.java.JavaAppletPlugin</key>

<dict>

<key>MinimumPlugInBundleVersion</key>

<string>1.7.11.22</string>

</dict>

-->

</dict>

</dict>

<key>Version</key>

<integer>2028</integer>

</dict>

</plist>

Jan 31, 2013 4:05 AM in response to bastian_kroll

It seems like Apple tried to define Java 1.6.0.37-435 as the least allowed Java version to be used for WebStart by defining

JavaWebComponentVersionMinimum = 1.6.0_37-b06-435

but currently the most recent 'official' version deployed by Apple is 1.6.0_37-b06-434.


Please note: Commenting out the lines or using the command line i posted above will allow any 1.6 to be used for Java WebStart and so MAY be a SECURITY ISSUE!

Jan 31, 2013 5:32 AM in response to yabbanoname

This did solve it for me, and keeps working after reboot:



sudo defaults write /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta JavaWebComponentVersionMinimum "1.6.0_37-b06-434"

sudo chmod +r /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta. plist

What does it do:


Since 1.6.0_37-b06-434 is actually installed (you can check with "java -version"), I set this as the required version. If the key exists, it won't be set again.

Yours, Heiko

restart disables javaws again

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.