Download the latest MRJ
SDK (MRJ_SDK_2.2 or later). Run the installer, which should create
a folder at the root of your system volume, called "MRJ SDK 2.2" Copy the
CIncludes and Libraries folders to the "MRJSDK" folder in mozilla/plugin/oji/MRJ.
Copy JManager.h from .../Metrowerks CodeWarrior/Java Support/VM_Support/MRJ_Support/CIncludes
into the above copied CIncludes directory in MRJSDK.
Open the project mozilla/plugin/oji/MRJ/plugin/MRJInABox.mcp.
Build the BackwardAdaptor target.
To build the plugin for 4.X browsers, build the "MRJInABox (4.X)" target.
To build for 5.X, build the "MRJInABox" target.
Build the project mozilla/js/macbuild/LiveConnectClasses.mcp, and make
an alias to the file liveconnect.jar in mozilla/plugin/oji/MRJ/plugin;
if liveconnect.jar cannot be found in .../js/macbuild/ after the build
is successful, it can be found in .../dist/liveconnect/
Build the project mozilla/plugin/oji/MRJ/testing/ConsoleApplet.mcp, and
make an alias to the file ConsoleApplet.jar in mozilla/plugin/oji/MRJ/plugin.
Finally, build the "MRJPlugin.jar" target in MRJInABox.mcp.
To install the 5.X plugin, find the plugins folder for the debug; it should
be ...dist:viewer_debug:Plugins. Drag both MRJInABox and MRJPlugin.jar
into this folder. To install the 4.X plugin, drag both MRJPlugin and MRJPlugin.jar
into your "Plug-ins" folder located inside your Netscape Communicator folder.
Well that's it. You should now have a working build of the MRJ
plugin.