Mac OS Runtime for Java | |
Developer: | Apple Inc. |
Latest Release Version: | MRJ 2.2.6 |
Latest Release Date: | April 8, 2004 |
Operating System: | classic Mac OS |
Genre: | Java virtual machine |
License: | Apple SLA |
Website: | docs.info.apple.com via WayBack machine |
Mac OS Runtime for Java (MRJ, originally Macintosh Runtime for Java) was Apple's proprietary virtual machine for Java-based applications in the classic Mac OS (i.e. versions prior to Mac OS X). Both a runtime environment and a software development kit (SDK) are available.
The runtime environment includes a JIT compiler developed by Symantec, the standard Java class library from Sun, additional classes providing Macintosh-specific functionality, and the Apple Applet Runner (a lightweight application for running Java applets without the overhead of a web browser). A number of web browsers could use MRJ to run Java applets in web pages, including Microsoft Internet Explorer, iCab and HotJava.
The SDK includes ports of most of the tools from Sun's Java Development Kit (in the form of MPW tools and Macintosh applications), additional tools for packaging Java applications as double-clickable Macintosh applications, libraries for Macintosh-specific functionality, and documentation for the MRJ-specific classes and tools.
MRJ v2.2.5 was compatible with Sun's Java Development Kit version 1.1.8.[1]
Since the transition to Mac OS X, Apple has discontinued MRJ and instead maintains and distributes a port of Oracle's HotSpot Java virtual machine.[2] As of Java 7, Apple has discontinued its own JRE, and Java support on OS X/macOS now comes directly from Oracle.