Closed Bug 514269 Opened 15 years ago Closed 15 years ago

[10.6] No way to run Java with OSX 10.6 on Firefox 3.6 or later

Categories

(Plugins Graveyard :: Java (Java Embedding Plugin), defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 510035

People

(Reporter: beltzner, Assigned: smichaud)

References

()

Details

STR:
1. Install OSX 10.6
2. Go to URL with Java testcase (http://www.java.com/en/download/help/testvm.xml)

Expected: Java to work, thanks to the new Java plugin that OSX ships which we can just make use of

Actual: Java doesn't work
Flags: blocking1.9.2+
Assignee: blackconnect → nobody
Component: Java-Implemented Plugins → Plug-ins
QA Contact: blackconnect → plugins
This does work in 3.5, but not in 3.6 nightlies.  Can't seem to find any place to download an OS X jre, so essentially you can't view any java-based content using FF 3.6 on 10.6.
I tried going to that URL with Firefox 3.5 on OSX 10.6 and it crashed in a pretty instant fashion.

That could be a bigger problem, yet.
Summary: Java not working after upgrading to OSX 10.6 → Java not working after upgrading to OSX 10.6 (crashes Firefox 3.5?)
Using Firefox 3.5, you're using the JEP, not the plug-in on OS X. Any issue with Firefox 3.5 is likely a different issue than 3.6.
Oh, wrong version; fwiw, I was running 3.0.11 when it was crashing. Here are the stacks:

http://crash-stats.mozilla.com/report/index/2a302c9e-28cf-43ad-bab4-cb0bb2090902?p=1

http://crash-stats.mozilla.com/report/index/7c4a8c0f-03f0-4381-9bdc-afcd22090902?p=1

Seems clearly related to JEP, do we know what was causing that? After upgrading to 3.0.13 it seems to work fine. Also working on 3.5.3 and 3.5.4pre from my tests:

"Your Java is working

Your Java configuration is as follows:

Vendor: Apple Inc
Version: Java 6 Update 15
Operating System: Mac OSX 10.6
Architecture: i386"

Still broken on 3.6 nightlies, though :)
Summary: Java not working after upgrading to OSX 10.6 (crashes Firefox 3.5?) → Java not working after upgrading to OSX 10.6
I think Bug 512834 covers the 3.0.x crashes. In the case of that bug it occurs with both 10.5 and 10.6.
Component: Plug-ins → Java-Implemented Plugins
Over to Josh for further investigation.
Assignee: nobody → joshmoz
We (beltzner, that includes you) knew Firefox 3.0.x crashed when initializing Java on 10.6. See bug 494246. It's been fixed since Firefox 3.0.12.
As I say at bug 512834 comment #7, all versions of the JEP prior to
0.9.7 are incompatible with SnowLeopard (they crash whenever you load
any Java applet).

All FF versions since FF 3.5 and FF 3.0.12 bundle a JEP whose version
is 0.9.7 or greater -- so 3.5 and up and 3.0.12 and up won't crash on
10.6 (loading any Java applet).

(In reply to comment #5)

> I think Bug 512834 covers the 3.0.x crashes. In the case of that bug
> it occurs with both 10.5 and 10.6.

Bug 512834's crash only happens on 10.6 -- not on 10.5.  Using
___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ to identify the cause of a
crash is as pointless as using nsObjCExceptionLogAbort() used to be
(before the patch for bug 486574 landed on the trunk and all 1.9.X
branches).

Seeing ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ at the top of a
stack just means that a special handler has deliberately crashed the
browser on an Objective-C exception that the handler judges to have
been "uncaught".  Apple's JVM has such a handler, and they apparently
also exist in certain out-of-the-way parts of system code (see bug
493905).

We used to have such a "handler" ourselves -- before the patch for bug
486574 disabled it.
Assignee: joshmoz → smichaud
Component: Java-Implemented Plugins → Java Embedding Plugin
QA Contact: plugins → java.jep
Version: 1.9.2 Branch → unspecified
isn't this bug about java not running on 3.6+ under 10.6 (which per comment #3 uses the java plugin, not the JEP)?  I know that's what I originally came to beltzner with...
The problem with Namoroka (and mozilla-central) is unrelated to the
crashes people see with old versions of the JEP on OS X 10.6.

As of now, Java is simply unavailable to users of those distros on OS
X -- OJI and the JEP were removed from the trunk (and the 1.9.2
branch) some time ago.  At some point Apple is supposed to provide a
replacement for the JEP -- a port of Sun's out-of-process Java
Plugin2.  But this hasn't happened yet.

See bug 485984 and bug 432625.
(Expanding upon comment #10)

Apple's port of Sun's Java Plugin2 is actually present in current
versions of Java on both OS X 10.6 and 10.5.7/10.5.8.  But there's no
way to turn it on in any GUI, and Apple hasn't documented any other
way to turn it on.

I assume this means Apple intends (eventually) to make Java Plugin2
available on both 10.6.X and 10.5.X.
Summary: Java not working after upgrading to OSX 10.6 → Java not working after upgrading to OS X 10.6
Summary: Java not working after upgrading to OS X 10.6 → Java crashes on OS X 10.6 using old FF distros (FF 3.0.11 and prior)
Summary: Java crashes on OS X 10.6 using old FF distros (FF 3.0.11 and prior) → Java crashes on OS X 10.6 using old FF distros (FF 3.0.11 and prior) [@registerNatives]
The stuff discussed in comment #9, comment #10 and comment #11 is a dup of bug 510035.
Whoa. This bug got morphed, and that's likely my fault; Steven, if you want a new bug about crashes, please file a new bug about crashes.

This bug is originally about the fact that Java doesn't work on OSX 10.6, which means that it's a dupe of bug 510035. Marking as such, and marking that bug blocking.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Summary: Java crashes on OS X 10.6 using old FF distros (FF 3.0.11 and prior) [@registerNatives] → No way to run Java with OSX 10.6 on Firefox 3.6 or later
No, wait, I should have looked first.

Bug 510035 is about Java not running on OSX 10.5 and 10.4 with Firefox 3.6 or later, and Josh says that isn't blocking.

This bug is about OSX 10.6 and Firefox 3.6 or later, which most definitely *is* blocking.

Please take discussion of crashes to another bug.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
If this bug is about "No way to run Java with OSX 10.6 on Firefox 3.6 or later", it's invalid.

Java doesn't work with Firefox 3.6 and up on *any* version of OS X.

This by design.  See bug 510035.
The problem with old versions of JEP (and old distros of FF 3.0.X) is different and entirely unrelated.  And perhaps that, too, is invalid -- since the problem doesn't exist in current FF versions.  But it's useful to have a bug to point people to who crash every time they load an applet on 10.6, and to explain why they have to download a newer version of FF.
> The problem with old versions of JEP (and old distros of FF 3.0.X) is different
> and entirely unrelated.

The problem *on 10.6*.
> Bug 510035 is about Java not running on OSX 10.5 and 10.4 with Firefox 3.6 or
> later,

Just to make it absolutely clear, this isn't true.

Bug 510035 is about Java not running on *any* version of OS X.
> Bug 510035 is about Java not running on *any* version of OS X.

Bug 510035 is about Java not running on *any* version of OS X with Firefox 3.6 or later.

Sigh.
Summary: No way to run Java with OSX 10.6 on Firefox 3.6 or later → [10.6] No way to run Java with OSX 10.6 on Firefox 3.6 or later
Marcia, is this bug really specific to Firefox, or would it theoretically be present in a build of Seamonkey and/or Camino that uses the same Gecko core as Firefox 3.6 (which IIRC is Gecko 1.9.2; please correct me if that version is wrong)?

If so, it really needs a more general summary :-p
I think this bug is now terribly confusing :-(

We should probably just mark it invalid and replace it by one or more other bugs.

But, to answer your question, Chris:

Anything built on the 1.9.2 branches and up, which can use Java, won't be able to use Java on OS X until Apple "releases" their port of Sun's Java Plugin2.

Current versions of anything built on the 1.9.0 and 1.9.1 branches, which can use Java, should have no problems on 10.6 (since they bundle current versions of the JEP).

Current versions of anything built on the 1.8 branch won't be able to use Java on 10.6 unless the user updates the JEP by hand.  There are reasons for this, which are discussed at bug 512834.
(In reply to comment #19)
> > Bug 510035 is about Java not running on *any* version of OS X.
> 
> Bug 510035 is about Java not running on *any* version of OS X with Firefox 3.6
> or later.
> 
> Sigh.

That's not how that bug was expressed when I duped/unduped to it.

I'm going to re-dupe this to bug 510035 (simply because RESO CONFUSING isn't available) which, since the first time I did that, has changed to be about all versions of Java.

As I understand things:

JEP has been removed from the codebase (bug 432625)
OJU has been removed from the codebase (bug 485984)

The net effect of this is that any Java plugin for OSX has to work with NPAPI. As documented in bug 485984 comment 0 the expectation was that Apple would provide this plugin as part of the OSX 10.6 release, and also update the Java plugin in OSX 10.5. Turns out that this is not quite what happened (see bug 510035 comment 17) and so, as a result, Java no longer works on any version of OSX for mozilla-1.9.2 or later, thus making this a dupe of bug 510035.
Status: REOPENED → RESOLVED
Closed: 15 years ago15 years ago
Resolution: --- → DUPLICATE
Unblocking since it's a dup of a blocker.
Flags: blocking1.9.2+
Component: Java Embedding Plugin → Java (Java Embedding Plugin)
Product: Core → Plugins
Product: Plugins → Plugins Graveyard
You need to log in before you can comment on or make changes to this bug.