Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Jump to content

Mac OS Runtime for Java

From Wikipedia, the free encyclopedia
Mac OS Runtime for Java
Developer(s)Apple Inc.
Stable release
MRJ 2.2.6 / April 8, 2004
Operating systemclassic Mac OS
TypeJava virtual machine
LicenseApple SLA
Websitedocs.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.

Implementations

[edit]
  • Java 1.0.2 with Mac OS Runtime for Java v 1.5.1 [1] (starting with version 1.5, MRJ included a JIT compiler)
  • Java 1.1.8 with Mac OS Runtime for Java v 2.2.6 [2]

References

[edit]
  1. ^ Cohen, Peter (1 June 2001). "New Mac OS Runtime for Java available for Mac OS 9". PCWorld. Retrieved 30 October 2017.
  2. ^ "Get Java for your Mac". Apple Support. Retrieved 8 April 2021.
[edit]