TOPIC
Mac OS Runtime for Java (MRJ) Version:1.5.1 was released December 15, 1997 MRJ 1.5 works on computers with 68030, 68040 or PowerPC microprocessors. You also need System 7.5 or later, a minimum of 8 MB of RAM (16 MB is strongly recommended) and at least 7 MB of free disk space. Computers with 68030 or 68040 microprocessors must have 32-bit addressing turned on.
DISCUSSION
Introduction Mac OS Runtime for Java (MRJ) is Apple's implementation of the Java runtime environment based on software from Sun Microsystems, Inc. Mac OS applications adapted to use MRJ can run Java applets and applications. MRJ 1.5 implements version 1.0.2 of Sun's Java. MRJ 1.5 includes Apple Applet Runner, a standalone application that runs Java applets, and Apple Applet Viewer, an OpenDoc viewer you use to put Java applets into OpenDoc documents. MRJ 1.5 is a major upgrade to MRJ 1.0.2 that significantly improves Java's graphic performance on the Mac OS. It also includes Apple's Just-In-Time compiler (JITC) that provides further, dramatic speed improvement on PowerPC microprocessors. A JITC for 68030 and 68040 machines is being developed, but is not yet available. IMPORTANT: The Applets menu in Apple Applet Runner includes a set of applets provided by Sun Microsystems, Inc. These applets were not created by Apple Computer, Inc. and may not follow Apple guidelines for user interaction. For example, buttons in an applet may have different behavior from buttons in applications developed specifically for the Mac OS. System requirements MRJ 1.5 works on computers with 68030, 68040 or PowerPC microprocessors. You also need System 7.5 or later, a minimum of 8 MB of RAM (16 MB is strongly recommended) and at least 7 MB of free disk space. Computers with 68030 or 68040 microprocessors must have 32-bit addressing turned on. This can be done by using the Memory control panel. Using Java applets over the Internet requires MacTCP 2.0.4 or later, or OpenTransport 1.1 or later with TCP/IP, and an active Internet connection. MRJ 1.5 works with Cyberdog 1.2.1 or later. What's Installed with MRJ? The MRJ 1.5 installer places the required software components in your System Folder. If necessary, the installer will force you to restart your computer before using MRJ. WARNING: If you have been using a pre-release version of MRJ, you need to remove files installed with the pre-release version before installing version 1.5. Use the list below to check the files you need to remove. However, do not remove the file named "Text Encoding Converter" or the folder named "Text Encodings." On all computers, MRJ 1.5 installs: Description of MRJ Components MRJ 1.5 contains the system components necessary to use Java. It also includes two demonstration tools that use these components to run Java applets. System Components The MRJ 1.5 installer puts a folder named "MRJ Libraries" in the Extensions folder of the active System Folder. The MRJ Libraries folder contains the MRJLib file, the MRJClasses folder and, on PowerPC computers, the MRJ JITC files. Apple Applet Runner The MRJ 1.5 installer installs a folder called "Apple Applet Runner" which contains the Apple Applet Runner application. You can find the Apple Applet Runner folder inside the Mac OS Runtime for Java folder in the Apple Extras folder at the root of your startup disk. You use Apple Applet Runner to run Java applets from your local disk. If you have MacTCP or Open Transport installed and an active Internet connection, you can also run Java applets over the Internet. You can run Java applets from your local disk by opening URLs or local HTML files containing <applet> tags from the Applet Runner's File menu. In addition, you can run Java applets by dropping HTML files containing <applet> tags onto the Apple Applet Runner application icon from the Finder. You will only see the applet itself inside Apple Applet Runner; if you use a Web browser to open the HTML file, you may see additional information. Apple Applet Runner remembers URLs of remote ("http://...") or local ("file:///...") applets. This information is stored in the Apple Applet Runner Prefs file in the Preferences folder of the active System Folder. A few sample URLs are are available by choosing Open URL from the File menu; you may add more URLs if you desire. You must have an active Internet connection to use these remote URLs. Demonstration applets are available under the "Applets" menu in Applet Runner. You may run these demonstration applets even if you do not have an active Internet connection. These applets are stored locally in the Applets folder. Apple Applet Runner's Properties Dialog The Properties dialog specifies network and filesystem access and also provides a shortcut to setting some properties that specify network resources. The Properties dialog can also specify if package access and definition should be restricted. To access the Properties dialog, choose "Properties" from the File menu in Apple Applet Runner. Most users will not need to change the settings. However, if you have special networking or security needs such as a firewall inside your company, you may need to change these settings. Here is a summary of the items in the Properties dialog: You use Apple Applet Viewer to place Java applets into your OpenDoc documents. A folder called "Apple Applet Viewer" is installed in your Editors folder and the Apple Applet Viewer Stationery file is installed in your Stationery folder. Refer to your OpenDoc documentation for instructions on using stationery. You use Java applets by dragging one of the following to the Apple Applet Viewer frame: 1. An HTML file that contains an <applet> tag, 2. A text file that contains a URL for an HTML document containing an <applet> tag, or 3. A Scrapbook clipping that contains either a URL for an HTML document containing an <applet> tag or an <applet> tag. Note: You must have an active Internet connection to use applets at remote URLs. Tips for Using MRJ Mac OS 8 Mac OS 8 includes MRJ 1.0.2 which is pre-set to install as a standard component of Mac OS 8. If you have already installed MRJ 1.5 and you are installing Mac OS 8, you should de-select MRJ in the installer list of components being installed. If you don't de-select the MRJ install you will get an error message when MRJ 1.0.2 tries to install over MRJ 1.5. If you get to this point you should press the Skip button which will allow you to skip, or bypass, the MRJ 1.0.2 installation and continue with the rest of the Mac OS 8 installation. Known Problems Further Information and Reporting Problems See our Web site at http://www.apple.com/macos/java/ to find out about future releases of Mac OS Runtime for Java or get information on how to report problems with the software. Other Applets on the Internet There are thousands of applets available on the Internet. Two good starting points for finding applets are: See our Web site at http://www.apple.com/macos/java/ to get the MRJ SDK. Java not Fault-tolerant The Java technology is not fault-tolerant and is not designed, manufactured or intended for use or resale as on-line control equipment in the operation of nuclear facilities, aircraft navigation or communication systems, or air traffic control machines in which the failure of the Java technology or Mac OS Runtime for Java could lead directly to death, personal injury, or severe physical or environmental damage. |
Document Information | |
Product Area: | Apple General Information |
Category: | Apple On Line Resources |
Sub Category: | Apple SW Updates |
Copyright © 2000 Apple Computer, Inc. All rights reserved.