14 Replies Latest reply: Jul 2, 2008 6:00 PM by Moptop650
Moptop650 Level 1 Level 1
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:

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)
  • Moptop650 Level 1 Level 1
  • Moptop650 Level 1 Level 1
  • Mulder Level 6 Level 6
    What makes you believe Java is working in WebKit and Firefox, but not Safari? What web sites have you visited that use Java to confirm this (provide specific URLs)? There's not enough information here to reproduce the problem or offer a possible solution.

    Post back with details.

  • Moptop650 Level 1 Level 1
    Are you serious? It's not hard to tell when something is or isn't working.



    An applet direct from Sun themselves. Works in WebKit and Firefox, but in Safari it sits on the 'Coffee Cup' stage.

  • andyBall_uk Level 7 Level 7
    Hi Moptop

    do you see the same problem in a new user account?
  • boredmen Level 1 Level 1
    Hey Moptop!

    I tried going to the link and I didn't even get the Java 'coffee cup' stage. It never loaded for me on Firefox.
  • ScottFleming Level 1 Level 1
    We need to figure this out because I have the same issue!! I see the coffee cup in both links you gave.
  • Moptop650 Level 1 Level 1
    AndyBall_uk - Yes
  • andyBall_uk Level 7 Level 7
    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...
  • Moptop650 Level 1 Level 1
    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!
  • Moptop650 Level 1 Level 1
  • Moptop650 Level 1 Level 1
  • andyBall_uk Level 7 Level 7
    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
  • Moptop650 Level 1 Level 1
    Ah, I had already installed the 10.5.3 update before this. I guess I'll just wait for the next one.