Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

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

Java Not Working in Safari, Works in WebKit, Firefox, etc.

I noticed yesterday that java is not working in my Safari browser, (Latest version 3), but it IS in the latest webkit, and Firefox 3.

My java settings are:
http://img362.imageshack.us/img362/1436/picture5eo5.png
http://img362.imageshack.us/img362/7576/picture6lb2.png

And java is enabled in Safari preferences.

What could be wrong?

Oh, and I'm repairing disk permissions at the moment.

Edit: repairing completed, no change.

15" MacBook Pro, 2.4GHz, 4Gb Ram, Mac OS X (10.5.3)

Posted on Jun 8, 2008 10:01 AM

Reply
14 replies

Jun 19, 2008 9:12 AM in response to Moptop650

hmm, that's an odd one- although firefox can show java w/o the plugins in Library/Internet plugins, webkit still requires them.... and another account is the same, so forget user prefs etc.

also forget java prefs since webkit works...

to be honest I can only wonder if one of the frameworks is err hosed, and since webkit brings in it's own later ones, that's why it behaves when safari doesn't

it's possible to use pacifist to reinstall the various frameworks ( webkit, webcore, javascriptcore etc ) , or even copy the ones from inside webkit; but first I wonder, does your Console app show anything when you see the coffee cup?

if you say which safari version you use, it may be possible to check modified date/exact size of the various files - a bit long-winded tho... 🙂

Jun 19, 2008 2:57 PM in response to andyBall_uk

I have Safari Version 3.1.1 (5525.20).

Two messages appear when I launched Safari, but none when I went to a Java applet-

-------------------
6/19/08 5:55:53 PM Safari[7957] * CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x8603, name = 'com.apple.Safari.ServiceProvider'
See /usr/include/servers/bootstrap_defs.h for the error codes.
-------------------
6/19/08 5:55:53 PM com.apple.launchd[86] ([0x0-0x1b41b4].com.apple.Safari[7957]) Check-in of Mach service failed. PID 7957 is not privileged: com.apple.Safari.ServiceProvider
-------------------

Out of curiosity I ran Safari as root, (sudo open -n /Applications/Safari.app), and it DID run & display the java applet properly!

Jun 26, 2008 1:53 AM in response to Moptop650

HI again

I did play with various ideas offline before- & couldn't find a way to cause the issue with plugins etc; so I'd have to assume something's up with the frameworks I previously mentioned ( b/c webkit brings its own ones in ) yet something that isn't fixed via repair permissions & isn't a problem when run as root....

of course, permissions being 'right' depends on the correct info being available in ( is it the same in Leopard ??) HD/LIbrary/Receipts/ - so make sure the relevant receipts are there ( long shot, but hey! )

'fraid I can't dig up much on the com.apple.Safari.ServiceProvider error.

-----

I guess if you just want it working, I'd try either running the huge 10.5.3 combo update, or pulling the frameworks via Pacifist from either the combo update of the safari 3.1.1 update ( some info on that here . On the face of things, your safari app shouldn't be suspect since webkit uses it mostly, but the app can be extracted as per the link too.

In other words.... the non-tech " who cares why? - just fix it! " route is 1: the combo update, 2: reinstall etc

Java Not Working in Safari, Works in WebKit, Firefox, etc.

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