Closed Bug 282162 Opened 20 years ago Closed 20 years ago

An applet which runs OK on Safari cannot be initialized by Mozilla

Categories

(SeaMonkey :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: chenrich, Unassigned)

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.3) Gecko/20040910
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.3) Gecko/20040910

This html pager and applet are distributed by Apple to illustrate communication
between JavaScript and Java (both directions). It runs as expected on Safari.
On Mozilla, and related browsers (Camino, Netscape, Firefox) the applet cannot
be initialized.

Reproducible: Always

Steps to Reproduce:
1.Make an XCode project containing the attached HTML file and Java code.
2.Compile the Java.
3.Load the HTML file into Mozilla.


Actual Results:  
The applet cannot be initialized.  The following lines are seen in console.log:
/Applications/Browsers/Mozilla.app/Contents/MacOS/mozilla-bin: can't map file:
/Library/Internet Plug-Ins/MRJPlugin.plugin ((os/kern) invalid argument)

### MRJPlugin:  getPluginBundle() here. ###

### MRJPlugin:  CFBundleGetBundleWithIdentifier() succeeded. ###

### MRJPlugin:  CFURLGetFSRef() succeeded. ###

### MRJPlugin:  JavaVM created. ###

2005-02-13 18:11:37.700 mozilla-bin[362] couldn't initialize applet

2005-02-13 18:11:37.703 mozilla-bin[362] couldn't initialize applet

2005-02-13 18:11:37.707 mozilla-bin[362] couldn't initialize applet

2005-02-13 18:11:37.806 mozilla-bin[362] couldn't initialize applet

Expected Results:  
The applet should draw a yellow square to the right of the three push buttons.
Clicking on one of the buttons will change the color of the square.
Clicking on the colored square will cause an alert box to appear with the message
"You clicked me!"
The alert box can be dismissed by clicking "OK."
This applet works fine in any of the Mozilla-family browsers (Firefox,
Mozilla or Camino) after you've installed the Java Embedding Plugin:

http://javaplugin.sourceforge.net/

I installed the latest version of Java Embedding Plugin, and now the applet
works as intended with no problems.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Nothing in Mozilla itself was broken or fixed.

-> WORKSFORME
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → WORKSFORME
> Nothing in Mozilla itself was broken or fixed.

Not _quite_ true:  On OS X Mozilla relies on broken technology
(Apple's "Java Applet.plugin") to do Java.  The Java Embedding Plugin
fixes this problem.

So I agree that the problem's resolved :-)

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: