Mac OS Runtime for Java 2.2.5: Information and Download

  • Last Modified on: May 05, 2008
  • Article: 75097
This article contains the Mac OS Runtime for Java Read Me documents and 2.2.5 software download link.

MRJ 2.2.5
Download Requirements
Operating System
Mac OS 8.1 or greater
Software
none
Hardware
none

Download Help
For help with downloading, see Knowledge Base Document 75098 "Help: Downloading Software

License Agreement
All software available from this site is covered by a software license agreement included with this software.

Language Version Release Date Read Me Software
English
Français
Deutsch
Español
Italiano
Nederlands

Norsk
Svensk
Suomi
Dansk
Portugues Brasileiro
Simplified Chinese
Traditional Chinese
Korean
2.2.5 2001-06-05
English
Français
Deutsch
Español
Italiano

Nederlands
Norsk
Svensk
Suomi
Dansk

5.1 MB

English

About Mac OS Runtime for Java MRJ 2.2.5

MRJ 2.2.5 is an upgrade to MRJ 2.2.4 which addresses several problems affecting JAR caching, network behavior and users of 2-byte international systems.

MRJ 2.2.5 is Gold Certified for use with Oracle Applications 11.5.3 when used with Microsoft Internet Explorer 5.0. It is Bronze Certified for running applications built with Oracle Developer 6i and deployed on Oracle Developer Server using Microsoft Internet Explorer 5.0 to access the client.

For the latest information about Java on Mac OS, please visit http://www.apple.com/java

Installation

MRJ 2.2.5 can only be installed in a disk or partition which contains a Mac OS 8 or 9 System Folder. If you are installing on a system that has both Mac OS 8 or 9 and Mac OS X disks or partitions, the installer may default to the Mac OS X partition. If this happens, use the "Switch Disk" button to select a Mac OS 8 or 9 system disk on which to install MRJ.

MRJ Cache

The "MRJ Cache", introduced in MRJ 2.2.3, has been moved from "System Folder:Preferences" to "System Folder:Application Support". In most cases, the MRJ Installer will move your existing cache for you. See the following section for the most common exception. Even when the installer does not move an obsolete "MRJ Cache" folders it will cause no problems apart from taking up disk space.

For more information on managing the "MRJ Cache" see the Developer Technical Q&A at http://developer.apple.com/qa/java/java27.html.

Multiple User Systems and Macintosh Manager Clients

Multiple User systems and Macintosh Manager clients require some special handling. Multiple user systems, which allow several people to share a single computer, are set up and administered by an "owner" using the Multiple Users control panel. Macintosh Manager clients are part of a network managed by Apple's Macintosh Manager workstation management software. Both systems impose restrictions on installation and the management of the "MRJ Cache".

The MRJ 2.2.5 Installer will not run in multi-user mode, or from a Macintosh Manager client. The multi-user owner or network administrator should install this software for all users.

On multi-user systems and Macintosh Manager clients, the installer will not move or delete pre-existing "MRJ Cache" folders. The owner/administrator of these systems should delete the individual "MRJ Cache" folders, found in each user's Preference folder, and in the System:Preferences folder. If desired, one of these "MRJ Cache" folders can be dragged to the "System Folder:Application Support" folder, however you should not mix the cache files from multiple "MRJ Cache" folders.

2-byte International Systems

Earlier versions of MRJ occasionally had problems finding files and running applets or java applications on some 2-byte international systems. MRJ 2.2.5 fixes many of these problems. Upgrading from Microsoft Internet Explorer 4.5 to 5.0 may further improve this situation.

Oracle Forms and Applications

If you are using Oracle Forms or Applications, you should be aware that Oracle has a patch for some of the problems involving short-cut keys. Additionally, if you rely on the load-balancing feature in Oracle Applications, you will need to configure Microsoft Internet Explorer for unrestricted network access. Contact your Oracle representative for more information on either of these issues.

FAXstf

The FAXstf software, included with some Macintosh bundles, is sometimes incompatible with MRJ. If you experience crashes when clicking in the menu bar while running Java applications, you should disable the FAXstf software. From the "Apple Menu", select "Control Panels" and open the "Extensions Manager". Click the On/Off box to remove the "X" for each of the following Extensions; FaxMonitor, FaxPrint, STF Phonebook Lib, STF Toolbox, STFInit. When you are done, reboot your computer. While this software is disabled, you will not be able to send or receive FAXs. To use FAXstf, re-enable the extensions and reboot. Remember to disable these extensions again before running another Java application. For current information on this situation, see Apple's on-line documentation at http://www.apple.com/support/.

Addtional Resources

Additional information about MRJ is available in Apple's Knowledge Base and Technical Information Library both of which are accessible through http://www.apple.com/support/.

About MRJ 2.2, 2.2.2, 2.2.3 & 2.2.4
The release notes from MRJ 2.2, MRJ 2.2.2, MRJ 2.2.3 and MRJ 2.2.4 appear below. Apart from the information above, these release notes still apply.

About Mac OS Runtime for Java MRJ 2.2.4

Mac OS Runtime for Java (MRJ) 2.2.4 is an upgrade to MRJ 2.2.3 which addresses a security issue affecting our users. In some cases, this would have permitted unauthorized applets to access the local hard drive.

The release notes from MRJ 2.2, MRJ 2.2.2, and MRJ 2.2.3 appear below. Apart from the information above, these release notes still apply.

About Mac OS Runtime for Java MRJ 2.2.3

Mac OS Runtime for Java (MRJ) 2.2.3 is an upgrade to MRJ 2.2.2 that improves memory usage, and provides substantial performance improvements for users who repeatedly access the same JAR files over a network. It also fixes several problems which were affecting users of 2-byte international systems.

MRJ 2.2.3 is Gold Certified for use with Oracle Applications 11i when used with Microsoft Internet Explorer 5.0. It is Bronze Certified for running applications built with Oracle Developer 6i and deployed on Oracle Developer Server using Microsoft Internet Explorer 5.0 to access the client.

Notes

JAR caching
MRJ 2.2.3 introduces JAR caching. Java code is frequently stored on servers in a special type of file called a JAR (for Java Archive). If a Java applet uses many JARs, or if the JARs are very large, it can take considerable time to load these files. JAR caching saves copies of these files on your local hard drive. When you use a JAR again, MRJ checks to see if there is a newer version on the server. If not, it uses the local copy, and your application starts up much faster than it would without caching.

JARs are saved in a folder named "MRJ Cache" located in "System:Preferences". Over time, this folder will grow, but it will not exceed 100MB. If you want to reclaim some of this space, you can quit all running applications and then drag the "MRJ Cache" folder to the trash. The next time MRJ needs to cache a JAR file, it will create a new "MRJ Cache" folder.

Microsoft Internet Explorer 5.0
MRJ 2.2.3 fixes several of the more prominent bugs exhibited when using MRJ 2.2 and MRJ 2.2.2 with Microsoft Internet Explorer (MSIE) 5.0; other bugs still remain. Apple is working, along with Microsoft, to resolve these problems, and they will be addressed in a future release.

Yahoo Games
If you play Yahoo games in MSIE 5.0, they may crash when you click the "Exit Games" button. You can avoid this problem by using MSIE 4.5 to play these games.

MRJ SDK
Developers working with MRJ 2.2.3 can continue to use MRJ SDK 2.2. Apple is not releasing a new MRJ SDK with MRJ 2.2.3. You can download MRJ SDK 2.2 from http://developer.apple.com/java/text/download.html.

Personal Web Sharing
If you are using Personal Web Sharing, and want to include Java applets in your web pages, you should package your class files in ZIP or JAR format to avoid a bug in Personal Web Sharing that prevents an applet from running if any of its classes have a "$" in their name. For more information on creating and packaging applets, you can download MRJ SDK 2.2. See the "Web Pages" folder on your desktop for more information about Personal Web Sharing.

Misleading "File Not Found" messages
In some cases Apple Applet Runner may report "File Not Found" when it is unable to read an existing file. This is most common when using an applet is localized in a language different from that in the system.

About MRJ 2.2 and 2.2.2
The release notes from MRJ 2.2 and MRJ 2.2.2 appear below. Apart from the information above, these release notes still apply.

About Mac OS Runtime for Java MRJ 2.2.2

Mac OS Runtime for Java (MRJ) 2.2.2 is an upgrade to MRJ 2.2 that improves memory usage and addresses security issues.

Notes

Microsoft Internet Explorer 5.0
MRJ 2.2.2 addresses a network security problem which occured when using MSIE 5.0. MRJ 2.2.2 does not address some additional networking problems that users are encountering when using MRJ 2.2 with Microsoft Internet Explorer 5.0. Apple takes these additional problems seriously and is working with Microsoft to address them.

Mac OS 8.1 and the Internet Scripting Addition
The information in "About MRJ 2.2", below is incorrect. It should read: On Mac OS 8.1, MRJ requires that you have the Internet Scripting Addition installed in the Scripting Additions folder in the Extensions folder. If this file is not present, you can re-install it from your Mac OS 8.1 CD. Double click "Install Mac OS 8.1", click "Continue", select the Destination disk, and then select the "Add/Remove" option. On the Custom Installation and Removal screen, check "Internet Access", and then click "Start". This will start the Internet Access installer. Follow the instructions to install all of the Internet Access software, including the Internet Scripting Addition.

MRJ SDK
Developers working with MRJ 2.2.2 can continue to use MRJ SDK 2.2. Apple is not releasing a new MRJ SDK with MRJ 2.2.2.

About MRJ 2.2
The release note originally provided with MRJ 2.2 appears below. Apart from the information above, this release note still applies.

About Mac OS Runtime for Java MRJ 2.2

MRJ is Apple's implementation of Sun Microsystems' Java Virtual Machine (JVM). MRJ 2.2 implements Sun's JDK 1.1.8 specification. MRJ provides the runtime software needed to run Java applets and applications, and the Apple Applet Runner, a simple utility for running applets without the overhead of a browser.

Minimum system requirements

Macintosh computer with a PowerPC processor

Mac OS 8.1 or later

Memory requirements will vary depending on how you are using Java. The minimum requirement for running simple applets is 40 megabytes (MB) of RAM, with virtual memory on and set to at least 44 MB. To run complex applets and applications, 64 MB of RAM is highly recommended. Increasing RAM to 64 MB or more will also improve performance.

At least 13 MB of free disk space

Installation

If you used Apple's Software Update Facility to upgrade to MRJ 2.2, it has already been installed and you do not need to install again.

Installation instructions

You should follow these installation instructions if you downloaded the MRJ Installer from Apple's web site, obtained it from another source, or if you want to reinstall for any reason.

Double click the Installer in the MRJ Install folder.

Review the License agreement, and if you agree to its terms, click the "Agree" button. If you do not agree, you can click "Disagree", and the Installer will quit.

Use the "Switch Disk" button to select a System Disk on which to install MRJ.

Select either the "Easy Install" option or the "Custom Install" option. If you are not certain which files you will need to install, you should choose the "Easy Install" option. See below for more information about these options.

Click the "Install" button to begin the installation of the MRJ 2.2 files on the selected hard disk.

Easy Install

The "Easy Install" option will place:

The MRJ runtime software inside the "MRJ Libraries" folder in your Extensions folder.

The Apple Applet Runner, license agreements, and this document inside the "Mac OS Runtime for Java" folder in your "Apple Extras" folder.

The "MRJ Enabler" in the Extensions folder only if you are installing on Mac OS 8.1. This installation will require that you reboot your computer.

Custom Install

Custom Install will allow you to install just the runtime software, just the MRJ Enabler, or just Apple Applet Runner. Selecting the MRJ Enabler will require that you reboot your computer.

New features in MRJ 2.2

MRJ 2.2 is significantly smaller than MRJ 2.1.4. Two major changes contribute to this reduction in size. First, MRJ 2.2 no longer installs the Text Encoding Converter (TEC) and Text Encodings because they are now standard components of all versions of Mac OS supported by MRJ 2.2. Secondly, we've moved rarely used classes out of MRJ into the MRJ SDK, which contains software primarily of interest to developers. See Apple's MRJ developer pages at http://developer.apple.com/java/ if you need more information about these classes or the MRJ SDK.

Apple Applet Runner

MRJ 2.2 includes the Apple Applet Runner. See "Using MRJ with Apple Applet Runner" below, for more information.

Signed applets

MRJ 2.2 enhances support for signed applets. In general, applets are not permitted to access your hard drive, to print, or to connect to sites other than their own. Java enforces these limitations and others to protect you from code that may try to read private information, write unwanted information, or perform other unexpected actions. A signed applet includes a certificate that assures you that the applet was created by someone you trust and has not been altered since they created it. When an applet has been signed, it is no longer subject to restrictions.

MRJ keeps a database of certificates that you trust. If you access a signed applet and the certificate is already in your Java security database, the applet will run without restrictions. If the certificate is not in your Java security database, a dialog box will provide information about the certificate. You can then choose to (1) accept the certificate permanently, thereby adding it to your Java security database, or (2) to run this applet now but not add the certificate to the database, or (3) to reject the certificate.

Note: If you reject the certificate, the applet will still run, as long as it does not attempt to perform a restricted activity. If it does attempt to perform a restricted activity, Java will display a security exception and block the action.

Note: MRJ's security database is separate from the database maintained by the browser. In some cases it will be necessary to accept the signature twice: once for the browser to access the site and again for MRJ to run the applet without restrictions.

Note: If you want to rescind a certificate you have previously accepted, you will need to delete the security database, "identitydb.obj" which is located in the Preferences folder in the active System Folder. Deleting "identitydb.obj" will delete all of your certificates, so you will have to re-accept any that you still want to use.

Using MRJ

Using MRJ in a browser

Most users will use MRJ from a browser. Currently, Microsoft Internet Explorer (MSIE), HotJava, and iCab all use MRJ as their Java VM. If you are using MSIE 4.0, you will need to set the default Java VM to Apple MRJ. To select MRJ, choose "Preferences..." in the Edit menu. Next choose Java in the Web Browser section of the Internet Explorer Preferences dialog, and then choose Apple MRJ in the Java Virtual Machine popup. MSIE 4.5 is set to use MRJ automatically. Current versions of Netscape Navigator do not use MRJ.

Using MRJ with Apple Applet Runner

The Apple Applet Runner is a utility for running applets without the overhead of a browser. It does not display HTML files, but simply extracts the <applet> tags from the HTML and runs the applets. The "About Apple Applet Runner" document describes new features and contains information on using Apple Applet Runner.

Using Java Applications

Many developers are now creating Java applications that can be run on the Macintosh. These applications look like any other Macintosh application and can be started from the Finder like any other Macintosh application. As long as MRJ is properly installed, you do not have to do anything special to use these applications.

Known issues

Mac OS 8.1

MRJ requires that you have the Internet Scripting AppleScript dictionary installed in the Scripting Additions folder in the Extensions folder. If this file is not present, you can re-run the Mac OS 8.1 installer and reinstall this dictionary.

Java epoch date

Java's internal clock calculates dates as the time since January 1, 1970. If the system clock on your Macintosh is set to an earlier date, Java applets and applications may hang or exhibit other unusual behavior. Ensure that the current date in your Date & Time Control Panel is set correctly.

Corrupt security database

Occasionally, the Java security database, "identitydb.obj", may become corrupt. If this occurs, you may see a message stating that the database is corrupt, or you may receive erroneous security errors, which will look similar to the following;

java.security.KeyManagementException: name conflict at
sun.security.provider.IdentityDatabase.addIdentity(IdentityDatabase.java)

If this occurs you should delete the security database. See the section above on signed applets for details.

Printing

If you use your browser's Print command to print a Web page that contains an applet, the page will contain a blank area where the applet should be. If available, use the applet's Print menu to print from the applet.

Swing

MRJ 2.2 is compatible with Swing 1.0.3, Swing 1.1 and Swing 1.1.1. For more information or a copy of the Swing software, see the Sun Microsystems web site at http://java.sun.com/. To run Swing-based applets and applications, place the "swingall.jar" file in the folder "System Folder:Extensions:MRJ Libraries:MRJClasses:".

Warning: Java technology is not fault tolerant and is not designed, manufactured, or intended for use or resale for online control of equipment in 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.

français

Editor's Note: Information about MRJ 2.2.5 is available in English only.

À propos de l'interpréteur Java pour Mac OS version 2.2.4

L'interpréteur Java pour Mac OS version 2.2.4 est une mise à jour de la version 2.2.3, qui répond à un problème de sécurité affectant nos utilisateurs. Dans certains cas, ce problème aurait pu permettre à des mini-applications (applets) non autorisées d'accéder au disque dur local.

Les informations relatives aux versions 2.2, 2.2.2 et 2.2.3 figurent ci-dessous. Mises à part les précisions du
début de ce document, ces informations sont encore valables.

À propos de l'interpréteur Java pour Mac OS version 2.2.3

L'interpréteur Java pour Mac OS version 2.2.3 est une mise à jour de la version 2.2.2 qui perfectionne l'utilisation de la mémoire et fournit des améliorations de performances substantielles aux utilisateurs accédant régulièrement aux mêmes fichiers JAR via un réseau. Cette version permet également de corriger plusieurs problèmes qui affectaient les utilisateurs de systèmes internationaux bi-octet.

L'interpréteur Java pour Mac OS 2.2.3 bénéficie du Certificat d'or pour l'utilisation avec des applications Oracle 11i et Microsoft Internet Explorer 5.0. Il bénéficie du Certificat de bronze pour l'exécution d'applications créées avec Oracle Developer 6i, déployées sur Oracle Developer Server et utilisant Microsoft Internet Explorer 5.0 pour accéder au client.

Remarques

Mise en cache JAR
L'interpréteur Java 2.2.3 propose une mise en cache JAR. Le code Java est souvent stocké, sur les serveurs, dans un fichier de type spécial appelé JAR (pour "Java Archive" en anglais). Si un applet Java utilise plusieurs fichiers JAR, ou si ces derniers sont de taille importante, leur temps de chargement risque de devenir très long. La mise en cache JAR consiste à enregistrer des copies de ces fichiers sur votre disque dur local. Chaque fois que vous utilisez à nouveau un fichier JAR, l'interpréteur vérifie s'il existe une version plus récente sur le serveur. Si ce n'est pas le cas, il utilise la copie locale, ce qui permet à votre application de démarrer beaucoup plus rapidement qu'elle ne le ferait sans mise en cache.

Les fichiers JAR sont enregistrés dans un dossier appelé "MRJ Cache" situé dans "Dossier Système:Préférences". Ce dossier se remplit au fur et à mesure sans toutefois excéder 100 Mo. Pour récupérer cet espace, quittez toutes les applications en service, puis glissez le dossier "MRJ Cache" dans la corbeille. La prochaine fois que l'interpréteur Java devra mettre un fichier JAR en cache, il créera un nouveau dossier "MRJ Cache".

Microsoft Internet Explorer 5.0
L'interpréteur Java 2.2.3 corrige plusieurs des bogues les plus importants qui se produisent lors de l'utilisation des versions 2.2 et 2.2.2 avec Microsoft Internet Explorer (MSIE) 5.0. Néanmoins, d'autres bogues demeurent. Apple et Microsoft travaillent de concert pour résoudre ces problèmes qui seront abordés lors de prochaines versions.

Jeux Yahoo
Si vous jouez à un jeu Yahoo à l'aide de MSIE 5.0, l'utilisation du bouton "Exit Games" risque de provoquer le blocage du jeu. Ces problèmes peuvent être évités en utilisant MSIE 4.5 pour jouer à ce type de jeux.

MRJ SDK
Les développeurs qui travaillent avec l'interpréteur Java pour Mac OS 2.2.3 peuvent continuer à utiliser la version 2.2. Apple ne propose pas de nouveau kit MRJ SDK avec la version 2.2.3. Vous pouvez télécharger le kit MRJ SDK 2.2 à partir du site (en anglais) : http://developer.apple.com/java/text/download.html.

Partage Web personnel
Si vous utilisez le Partage Web personnel et que vous souhaitez inclure des applets Java dans vos pages web, vous devez regrouper vos classes de fichiers au format ZIP ou JAR afin d'éviter un bogue du Partage Web personnel qui empêche l'exécution d'applets dont les classes contiennent un "$" dans le nom. Pour davantage d'informations sur la création et le paquetage des applets, vous pouvez télécharger MRJ SDK 2.2. Pour plus d'informations à propos du Partage Web personnel, consultez le dossier "Pages Web" situé sur votre bureau.

Messages d'erreur erronés du type "Fichier introuvable"
Dans certains cas, le lanceur de mini-applications (Apple Applet Runner) peut signaler qu'un fichier est introuvable alors qu'il n'arrive pas à le lire. Cela arrive très souvent lorsque l'on utilise un applet traduit dans une langue différente de celle du système. Apple est conscient de ce problème et s'attachera à le résoudre dans une prochaine version de l'interpréteur Java pour Mac OS.

À propos des versions 2.2 et 2.2.2 de l'interpréteur Java pour Mac OS
Les documents accompagnant les versions 2.2 et 2.2.2 sont repris ci-dessous. Hormis les informations ci-dessus, leur contenu est toujours d'application.

À propos de l'interpréteur Java pour Mac OS 2.2.2

L'Interpréteur Java pour Mac OS 2.2.2 est une mise à jour de la version 2.2 qui améliore l'usage de la mémoire et remédie à des problèmes de sécurité.

Notes

Microsoft Internet Explorer 5.0
L'Interpréteur Java pour Mac OS 2.2.2 remédie à un problème de sécurité en réseau qui survenait lors de l'utilisation d'Internet Explorer 5.0. Toutefois, cette mise à jour 2.2.2 n'aborde pas certains problèmes supplémentaires qui se produisent parfois lors de l'utilisation de la version 2.2 avec Microsoft Internet Explorer 5.0. Apple, qui prend ces problèmes très au sérieux, collabore avec Microsoft dans le but de les résoudre.

Mac OS 8.1 et complément Pilotage Internet
Les informations qui figurent dans le paragraphe Mac OS 8.1 du texte ci-dessous "À propos de l'interpréteur Java pour Mac OS 2.2" sont incorrectes. En voici la rectification :
Sous Mac OS 8.1, l'interpréteur Java pour Mac OS requiert que le fichier Pilotage Internet soit installé dans le dossier Compléments de pilotage du dossier Extensions. Si ce n'est pas le cas, vous pouvez le réinstaller à partir de votre CD de Mac OS 8.1. Pour cela, faites un double-clic sur "Installer Mac OS 8.1", cliquez sur "Continuer", sélectionnez le disque destinataire, puis sélectionnez l'option Ajouter/Supprimer. Dans l'écran d'installation et de suppression personnalisées, cochez Accès Internet, puis cliquez sur Démarrer. Ceci lance l'installateur d'Accès Internet. Suivez alors les instructions d'installation de la totalité du logiciel Accès Internet, y compris le complément Pilotage Internet.

Kit de développement de la version 2.2
Les développeurs qui travaillent avec Interpréteur Java pour Mac OS peuvent continuer à utiliser le kit de développement de la version 2.2. Apple ne diffuse pas de nouvelle version de ce kit avec l'interpréteur Java pour Mac OS version 2.2.2.

À propos de l'interpréteur Java pour Mac OS 2.2
La note accompagnant à l'origine Interpréteur Java pour Mac OS 2.2 figure ci-dessous. Hormis la rectification ci-dessus, elle demeure valable.

À propos de l'interpréteur Java pour Mac OS version 2.2

L'interpréteur Java pour Mac OS version 2.2 permet l'implémentation de la machine virtuelle Java de Sun Microsystems sur les ordinateurs Apple. La version 2.2 implémente les spécifications JDK 1.1.8 de Sun Microsystems. L'interpréteur fournit les logiciels d'exploitation nécessaires au lancement de mini-applications et d'applications Java ainsi que de Lanceur de mini-applications, utilitaire destiné à l'exécution de mini-applications sans recours à un navigateur.

Configuration minimale requise

Ordinateur Macintosh équipé d'un processeur PowerPC.

Mac OS 8.1 ou ultérieur.

Les besoins en mémoire dépendent de l'usage que vous faites de Java. Le minimum nécessaire pour l'exécution de mini-applications simples est de 40 Mo de mémoire vive (RAM), la mémoire virtuelle étant activée et fixée à 44 Mo minimum. Pour l'exécution de mini-applications et d'applications plus complexes, il est vivement recommandé de disposer de 64 Mo de mémoire vive. L'augmentation de la mémoire vive à 64 Mo ou plus améliore également les performances.

Au moins 13 Mo d'espace disque disponible.

Installation

Si vous avez utilisé l'environnement de mise à jour de logiciels Apple pour vous mettre à jour avec la version 2.2, il n'est plus nécessaire de procéder à l'installation car elle a déjà été réalisée.

Instructions d'installation

Vous devez suivre ces instructions dans les cas suivants : si vous avez téléchargé l'installateur à partir du site Web d'Apple ; si vous l'avez obtenu d'une autre source ; si vous souhaitez le réinstaller pour une raison quelconque.

Faites un double-clic sur l'installateur dans le dossier Installation Java.

Lisez le contrat de licence et cliquez sur le bouton Accepter si vous en acceptez les termes. Dans le cas contraire, cliquez sur Refuser et l'installateur se refermera.

Utilisez le bouton Lecteur afin de sélectionner le disque système sur lequel sera installé l'interpréteur Java.

Sélectionnez soit l'option Installation standard, soit l'option Installation personnalisée. Si vous ignorez quels fichiers vous devez installer, choisissez Installation standard. Pour plus d'informations concernant ces options, reportez-vous à la section suivante.

Cliquez sur le bouton Installer afin de démarrer l'installation des fichiers de la version 2.2 sur le disque dur sélectionné.

Installation standard

L'option Installation standard place :

Les logiciels d'exploitation de l'interpréteur Java dans le dossier "MRJ Libraries" de votre dossier Extensions.

Le lanceur de mini-applications, les contrats de licence ainsi que le présent document dans le dossier Interpréteur Java pour Mac OS de votre dossier Compléments Apple.

L'extension "MRJ Enabler" dans le dossier Extensions, uniquement si vous procédez à une installation sur Mac OS 8.1. Dans ce cas, il sera nécessaire de redémarrer votre ordinateur.

Installation personnalisée

L'installation personnalisée vous permet d'installer, au choix, les logiciels d'exploitation, l'extension "MRJ Enabler" ou le Lanceur de mini-applications. Si vous sélectionnez "MRJ Enabler", il faudra redémarrer votre ordinateur.

Nouveautés de l'Interpréteur Java pour Mac OS 2.2

La version 2.2 de l'interpréteur Java pour Mac OS est de taille nettement plus petite que la version 2.1.4. Deux changements majeurs contribuent à cette diminution de taille. Premièrement, cette version n'installe plus ni le fichier "Conversion encodages texte", ni le dossier "Encodages texte" puisque ces deux éléments font à présent partie des composants standard de toutes les versions de Mac OS gérées par l'interpréteur. Deuxièmement, les classes les plus rarement utilisées ont été transférées du logiciel de l'interpréteur au kit de développement SDK, qui contient des logiciels destinés principalement aux développeurs. Pour plus d'informations à propos de ces classes ou du kit de développement, reportez-vous aux pages concernant les développeurs Java, à cette adresse : http://developer.apple.com/java/ (en anglais).

Lanceur de mini-applications
La version 2.2 inclut le Lanceur de mini-applications. Pour plus d'informations, consultez plus loin la section "Utilisation de l'interpréteur Java pour Mac OS avec Lanceur de mini-applications".

Mini-applications signées
La version 2.2 améliore la gestion des mini-applications signées. En général, les mini-applications ne sont autorisées ni à accéder à votre disque dur, ni à imprimer, ni à se connecter à des sites autres que les leurs. Ces limitations ainsi que d'autres sont mises en place par Java afin de vous protéger contre des programmes qui essayeraient de consulter des informations privées, d'écrire des informations indésirables ou d'effectuer d'autres opérations inattendues. Une mini-application signée possède un certificat qui en garantit la création par une personne digne de confiance ainsi que l'absence de toute modification depuis cette création. Une fois qu'une mini-application a été signée, elle n'est plus soumise à restrictions.

L'interpréteur conserve une base de données des certificats que vous approuvez. Si vous accédez à une mini-application signée dont le certificat est répertorié par votre base de données de sécurité Java, elle sera exécutée sans restrictions. Si le certificat n'apparaît pas dans votre base de données, une zone de dialogue vous fournit des informations concernant ce dernier. Vous disposez alors du choix suivant : (1) accepter le certificat de manière permanente, c'est-à -dire l'ajouter à votre base de données ; (2) exécuter la mini-application sans ajouter le certificat à votre base de données ; ou (3) refuser le certificat.

REMARQUE : si vous refusez le certificat, la mini-application ne pourra fonctionner qu'à condition de ne pas tenter une opération interdite. Si une telle opération était tentée, Java afficherait une objection de sécurité et empêcherait l'action.

REMARQUE : la base de données de l'interpréteur Java pour Mac OS est distincte de celle du navigateur. Dans certains cas, il sera nécessaire d'accepter le certificat à deux reprises : une première fois pour permettre au navigateur d'accéder au site et une deuxième fois pour permettre à l'interpréteur d'exécuter la mini-application sans restrictions.

REMARQUE : si vous souhaitez annuler un certificat préalablement accepté, il vous faudra supprimer la base de données "identitydb.obj", située dans le dossier Préférences du Dossier Système activé. La suppression de "identitydb.obj" effacera tous vos certificats, de telle sorte qu'il faudra accepter de nouveau tout certificat que vous souhaitez continuer à utiliser.

Utilisation de l'interpréteur Java pour Mac OS

Utilisation de l'interpréteur Java dans un navigateur
La plupart des utilisateurs se servent de l'interpréteur à partir d'un navigateur. Actuellement, Microsoft Internet Explorer (MSIE), HotJava et iCab utilisent tous l'interpréteur Java pour Mac OS comme machine virtuelle Java. Si vous utilisez MSIE 4.0, vous devez régler Machine virtuelle Java sur Apple MRJ. Pour cela, choisissez Préférences dans le menu Édition. Ensuite, choisissez Java dans la section Navigateur Web de la zone de dialogue Préférences Internet Explorer, puis choisissez Apple MRJ dans le menu local Machine virtuelle Java. MSIE 4.5 est configuré pour utiliser automatiquement l'interpréteur Java pour Mac OS. Les versions actuelles de Netscape Navigator ne l'utilisent pas∫.

Utilisation de l'interpréteur Java pour Mac OS avec Lanceur de mini-applications
Le lanceur de mini-applications est un utilitaire qui permet d'exécuter des mini-applications sans recourir à un navigateur. Il n'affiche pas les fichiers HTML, mais en extrait simplement les balises <applet> et exécute les mini-applications. Le document "À propos de Lanceur de mini-applications" en décrit les nouvelles fonctionnalités et contient des informations sur son utilisation.

Utilisation des applications Java
De nombreux développeurs créent actuellement des applications Java exécutables sur Macintosh. Celles-ci sont semblables aux autres applications Macintosh et peuvent, comme ces dernières, être lancées à partir du Finder. Pour peu que l'interpréteur Java pour Mac OS soit correctement installé, ces applications sont utilisables sans manipulation spéciale préalable.

Problèmes connus

Mac OS 8.1
L'interpréteur Java pour Mac OS requiert la présence du dictionnaire Pilotage Internet pour AppleScript dans le dossier Compléments de pilotage du dossier Extensions. Si ce n'est pas le cas, vous pouvez réexécuter l'installateur Mac OS 8.1 et réinstaller ce dictionnaire.

Calcul de la date par Java
L'horloge interne de Java calcule les dates en fonction du 1er janvier 1970. Par conséquent, si l'horloge système de votre Mac est réglée sur une date antérieure, les applications et mini-applications Java risquent de se bloquer ou de présenter des anomalies. Veillez à ce que la date actuelle dans le tableau de bord Date et heure soit réglée correctement.

Base de données corrompue
Il peut arriver que la base de données Java "identitydb.obj" soit corrompue. Dans ce cas, vous pouvez recevoir soit un message signalant que la base de données est corrompue, soit des alertes de sécurité erronées du type :

java.security.KeyManagementException: name conflict
at sun.security.provider.IdentityDatabase.addIdentity(IdentityDatabase.java)

Si cela vous arrive, vous devez effacer la base de données. Pour plus de détails, consultez la section ci-dessus à propos des mini-applications signées.

Impression
Si vous utilisez la commande d'impression de votre navigateur pour imprimer une page Web contenant une mini-application, la page affichera une zone blanche à l'endroit correspondant à l'emplacement de la mini-application. Utilisez le menu d'impression de la mini-application, s'il est disponible, pour imprimer à partir de celle-ci.

Swing
La version 2.2 de l'interpréteur Java est compatible avec les versions 1.0.3, 1.1 et 1.1.1 de Swing. Pour plus d'informations ou pour obtenir une copie du logiciel Swing, consultez le site Web de Sun Microsystems à l'adresse suivante : http://java.sun.com/ (en anglais). Pour exécuter des mini-applications et des applications Swing, placez le fichier "swingall.jar" dans le dossier "Dossier Système:Extensions:MRJ Libraries:MRJClasses:".

ATTENTION La technologie Java n'est pas insensible aux défaillances et n'est ni conçue, fabriquée ou destinée en vue d'être utilisée ou revendue afin de servir à la surveillance d'installations nucléaires, à la navigation aérienne, à des systèmes de communication ou tout autre situation dans laquelle son emploi pourrait causer la mort, des blessures ou des dommages écologiques importants.


Deutsch

Deutsche

Editor's Note: Information about MRJ 2.2.5 is available in English only.

Über Mac OS Runtime for Java MRJ 2.2.4

Mac OS Runtime for Java (MRJ) 2.2.4 ist eine Aktualisierung von MRJ 2.2.3, die ein Sicherheitsproblem bei den Benutzern behebt. Unte bestimmten Umständen war es dabei möglich, daß bestimmte Applets auf die lokalen Volumes zugreifen konnten, obwohl es ihnen eigentlich nicht erlaubt war.

Folgend der Inhalt des "Bitte lesen"-Dokuments von MRJ 2.2, MRJ 2.2.2 und MRJ 2.2.3. Bis auf die oben beschriebenen Änderungen sind die Informationen weiterhin gültig.

Über Mac OS Runtime for Java MRJ 2.2.3

Mac OS Runtime for Java (MRJ) 2.2.3 ist eine Aktualisierung von MRJ 2.2.2 , die die Speicherverwendung verbessert und eine Leistungssteigerung für Benutzer zur Verfügung stellt, die wiederholten Zugang zu Jar-Dateien über das Netzwerk benötigen. Außerdem werden Probleme behoben, die Benutzer von internationalen 2-byte Systemen betreffen.

MRJ 2.2.3 ist für die Verwendung von "Oracle Applications 11i" mit Hilfe von "Microsoft Internet Explorer 5.0" Gold zertifiziert. Es ist Bronze zertifiziert für Programme, die mit "Oracle Developer 6i" erstellt wurden und einen Oracle Developer Server einsetzen und mit Microsoft Internet Explorer 5.0 zugreifen.

Hinweise

"JAR Caching"
MRJ 2.2.3 enthält jetzt "JAR caching". Java Code wird häufig auf Servern in einem speziellen Dateityp gespeichert. Dieser Dateityp wird "JAR" (Abkürzung für Java Archive) genannt. Wenn ein Java Applet viele JARs erwendet oder wenn die JARs sehr groß sind, kann es einige Zeit dauern, bis diese Dateien geladen werden. Mit "JAR caching" werden nun Kopien dieser Dateien auf Ihrer Fetsplatte gesichert. Wenn Sie nun ein JAR erneut verwenden, überprüft MRJ zuerst, ob sich eine neuere Version der Datei auf dem Server befindet. Ist dies nicht der Fall, wird Ihre lokale Version verwendet und das Programm startet wesentlich schneller als ohne "JAR caching".

JAR Dateien werden im Ordner "MRJ Cache" im Ordner "Preferences" innerhalb des Systemordners gesichert. Nach einiger Zeit erreicht die Ordnergröße maximal 100MB. Wenn Sie diesen Speicherplatz freimachen wollen, beenden Sie alle Programme und bewegen den Ordner "MRJ Cache" in den Papierkorb. Wenn MRJ eine neue JAR-Datei zwischenspeichern muss, wird ein neuer Ordner "MRJ Cache" angelegt.

Microsoft Internet Explorer 5.0
MRJ 2.2.3 behebt einige der bekannten Probleme, die mit MRJ 2.2 und MRJ 2.2.2 im Microsoft Internet Explorer (MSIE) 5.0 auftraten; andere Fehler treten immer noch auf. Apple arbeitet bereits mit Microsoft an einer Lösung dieser Probleme in einer zukünftigen Version von MRJ.

Yahoo Spiele
Falls Sie Yahoo Spiele mit MSIE 5.0 nutzen, kann es zu einem Systemfehler kommen, wenn Sie in "Exit Games" klicken. Sie können dieses Problem vermeiden, indem Sie MSIE 4.5 für diese Spiele verwenden.

MRJ SDK
Entwickler, die mit MRJ 2.2.3 arbeiten, können weiterhin "MRJ SDK 2.2" verwenden. Apple wird kein neues Entwicklerpaket "MRJ SDK" für MRJ 2.2.3 herausbringen. Das "MRJ SDK 2.2" können Sie im Internet unter http://developer.apple.com/java/text/download.html finden.

Personal Web Sharing
Falls Sie Personal Web Sharing verwenden und Java Applets in Ihre Web-Seite einbinden wollen, dann sollten Sie die "class files" im Format ZIP oder JAR komprimieren. Damit vermeiden Sie ein Problem, das Personal Web Sharing davon abhält Applets zu starten, die das Sysmbol "$" im Namen enthalten. Für weitere Informationen über das Erstellen und Komprimieren von Applets, laden Sie MRJ SDK 2.2 aus dem Internet. Im Ordner "Web-Seiten" erhalten Sie weitere Informationen über Personal Web Sharing.

Irreführende Mitteilung "Datei nicht gefunden" (File Not Found)
Unter Umständen erhalten Sie vom Apple Applet Runner den Hinweis "Datei nicht gefunden" (File Not Found), wenn er eine vorhandene Datei nicht lesen kann. Dies passiert dann, wenn Sie ein Applet verwenden, das in einer anderen Sprachversion vorliegt als Ihr System. Apple ist dieses Problem bekannt und arbeitet bereits an einer Lösung in einer zukünftigen Version von MRJ.

Über MRJ 2.2 und 2.2.2
Folgend der Inhalt des "Bitte lesen"-Dokuments von MRJ 2.2 und MRJ 2.2.2. Bis auf die bereits oben beschriebenen Änderungen sind die Informationen zu MRJ 2.2 weiterhin gültig.

Über Mac OS Runtime for Java MRJ 2.2.2

Mac OS Runtime for Java (MRJ) 2.2.2 ist eine Aktualisierung zu MRJ 2.2, die die Speicherverwendung verbessert und Sicherheitsprobleme behebt.

Hinweise

Microsoft Internet Explorer 5.0
MRJ 2.2.2 behebt ein Netzwerk-Sicherheitsproblem bei der Verwendung des Microsoft Internet Explorer 5.0. MRJ 2.2.2 behebt keine weiteren Netzwerkprobleme, die von einigen Anwendern bei der Verwendung von MRJ 2.2 mit dem Microsoft Internet Explorer 5.0 bemerkt wurden. Apple nimmt diese weiteren Probleme sehr ernst und arbeitet zusammen mit Microsoft an einer Lösung.

Mac OS 8.1 und die Skripterweiterung "Internet Scripting"
Die Information im Kapitel über MRJ 2.2 ist nicht korrekt. Es muß stattdessen lauten:
MRJ benötigt auf Computern mit Mac OS 8.1 die AppleScript-Bibliothek "Internet Scripting" im Ordner "Scripting Additions", der sich im Ordner "Systemerweiterungen" befindet. Falls diese Datei dort nicht vorhanden ist, sollten Sie mit der Mac OS 8.1 Installation die fehlende Bibliothek installieren. Doppelklicken Sie das Programm "Mac OS Installation", klicken Sie in "Fortfahren", wählen Sie das Zielvolume und klicken Sie in "Hinzufügen/Entfernen". Bei der manuellen Installation markieren Sie die Option "Internet Access" und klicken dann in "Start". Dadurch wird die Installation von "Internet Access" gestartet. Folgen Sie den Anweisungen zur Installation von "Internet Access", einschließlich der Installation der Skripterweiterung "Internet Scripting".

MRJ SDK
Entwickler, die MRJ 2.2.2 verwenden, können weiterhin das "MRJ SDK 2.2" verwenden. Apple wird keine neue Version des MRJ SDK mit MRJ 2.2.2 veröffentlichen.

Über MRJ 2.2
Folgend der Inhalt des "Bitte lesen"-Dokuments von MRJ 2.2. Bis auf die bereits oben beschriebenen Änderungen sind die Informationen zu MRJ 2.2 weiterhin gültig.

Über Mac OS Runtime for Java MRJ 2.2

Das Softwarepaket Mac OS Runtime for Java (MRJ) 2.2 ist die Apple Implementation der Java Virtual Machine (JVM) und basiert auf der Java Spezifikation Version 1.1.8 von Sun Microsystems, Inc. MRJ beinhaltet die Runtime-Software für Java Applets und Programme und den Apple Applet Runner, der es ermöglicht, Java Applets ohne einen Web-Browser zu starten.

Systemvoraussetzungen

Macintosh Computer mit PowerPC Prozessor

Mac OS 8.1 oder neuer

Der benötigte Arbeitsspeicher (RAM) hängt stark von den Java Applikationen ab, die Sie verwenden. Für einfache Java-Applets werden mindestens 40 Megabytes (MB) RAM und 44 MB virtueller Speicher benötigt. Für komplexere Java Applets und Programme werden 64 MB RAM empfohlen. Wenn Sie den Arbeitsspeicher auf 64 MB oder mehr erweitern, führt dies zu einer Verbesserung der Leistung.

Mindestens 13 MB freien Festplattenspeicher

Installation

Falls Sie mit Hilfe des Kontrollfeldes "Software-Aktualisierung" bereits auf MRJ 2.2 aktualisiert haben, ist es nicht notwendig, MRJ 2.2 noch einmal zu installieren.

Installationshinweise
Sie sollten die folgenden Hinweise beachten, wenn Sie den MRJ Aktualisierer von der Apple-Website geladen haben oder von einer anderen Quelle bezogen haben. Die Hinweise gelten auch, wenn Sie das Softwarepaket neu installieren möchten.
1. Doppelklicken Sie auf den Aktualisierer im Ordner "MRJ Installation".

2. Lesen Sie die Lizenzvereinbarung. Wenn Sie der Vereinbarung zustimmen, klicken Sie in "Akzeptieren". Wenn Sie der Vereinbarung nicht zustimmen, klicken Sie in "Ablehnen" und der Aktualisierer wird beendet.

3. Klicken Sie in "Volume", um das Volume auszuwählen, auf dem MRJ installiert werden soll.

4. Wählen Sie entweder "Einfache Installation" oder "Manuelle Installation". Falls Sie sich nicht sicher sind, welche Dateien Sie benötigen, wählen Sie die Option "Einfache Installation". Weitere Informationen zu den beiden Optionen finden Sie im nächsten Abschnitt.

5. Klicken Sie in "Installieren", um die Installation von MRJ 2.2 zu starten.

Einfache Installation
Die Option "Einfache Installation" führt folgende Schritte aus:
1. Die MRJ Runtime-Software wird in den Ordner "MRJ Libraries" kopiert, der sich im Ordner "Systemerweiterungen" befindet.

2. Der Apple Applet Runner, die Lizenzvereinbarungen und dieses Dokument werden in den Ordner "Mac OS Runtime for Java" kopiert, der sich im Ordner "Apple Extras" befindet.

3. Auf Computern mit Mac OS 8.1 wird der "MRJ Enabler" in den Ordner "Systemerweiterungen" kopiert. Bei dieser Option muß der Computer neugestartet werden.

Manuelle Installation
Mit der Option "Manuelle Installation" können Sie entweder die Runtime-Software, den MRJ Enabler oder den Apple Applet Runner einzeln installieren. Wenn Sie den MRJ Enabler installieren, müssen Sie den Computer neu starten.

Änderungen in MRJ 2.2

MRJ 2.2 ist aus zwei Gründen wesentlich kleiner als MRJ 2.1.4. Erstens werden mit MRJ 2.2 der Text Encoding Converter (TEC) und die Text Encodings nicht mehr installiert, weil diese bereits ein Bestandteil des Mac OS 8.1 oder neuer sind. Zweitens wurden kaum benutzte Klassen aus dem MRJ entfernt und in dem MRJ SDK implementiert. MRJ SDK beinhaltet Software, die hauptsächlich an Entwickler gerichtet ist. Weitere Informationen zu den Klassen oder zum MRJ SDK finden Sie auf der Apple-Entwickler Webseite unter http://developer.apple.com/java

Apple Applet Runner
MRJ 2.2 beinhaltet unter anderem den Apple Applet Runner. Weitere Informationen zum Apple Applet Runner finden Sie im Abschnitt "MRJ und der Apple Applet Runner".

Signed Applets
MRJ 2.2 verbessert die Unterstützung für "Signed Applets". Grundsätzlich dürfen Applets nicht auf Ihre Festplatte zugreifen, drucken oder eine Verbindung mit anderen Webseiten herstellen. Java hat diese und andere Beschränkungen, damit Sie vor Applets geschützt werden, die private Informationen lesen oder andere ungewollte Befehle ausführen. Ein "Signed Applet" beinhaltet ein Zertifikat, das Ihnen bestätigt, daß das Applet von einer Person oder Institution stammt, der Sie vertrauen und daß es in der Zwischenzeit nicht verändert wurde. Deshalb unterliegt ein "Signed Applet" nicht den oben beschriebenen Beschränkungen.

MRJ verwaltet eine Datenbank von Zertifikaten, denen Sie vertrauen. Falls Sie ein "Signed Applet" öffnen und sich das Zertifikat bereits in Ihrer Java Sicherheitsdatenbank befindet, werden die Beschränkungen für dieses Applet aufgehoben. Falls das Zertifikat nicht in Ihrer Datenbank gefunden wurde, erscheint ein Fenster mit den entsprechenden Informationen über das neue Zertifikat. Sie haben dann drei Möglichkeiten.
1. Sie akzeptieren das Zertifikat und nehmen es in Ihre Java Sicherheitsdatenbank auf.
2. Sie lassen das Applet ohne Beschränkungen laufen, nehmen jedoch das Zertifikat nicht in Ihre Datenbank auf.
3. Sie lehnen das Zertifikat ab.

Hinweis: Falls Sie das Zertifikat ablehnen, wird das Applet dennoch ausgeführt. Allerdings unterliegt es dann denselben Beschränkungen wie ein normales Applet. Es wird jeder Befehl blockiert, der über diese Beschränkungen hinaus geht und und von Java wird eine Schutzverletzung gemeldet.

Hinweis: Die MRJ Sicherheitsdatenbank ist nicht die gleiche, die von Ihrem Browser verwaltet wird. Möglicherweise müssen Sie ein Zertifikat zweimal akzeptieren. Einmal, damit Ihr Browser auf die entsprechende Webseite zugreifen kann, und ein zweites Mal, damit MRJ das Applet ohne Beschränkungen laufen lassen kann.

Hinweis: Um ein bereits akzeptiertes Zertifikat rückgängig zu machen, müssen Sie die Sicherheitsdatenbank löschen, die sich in der Datei "identitydb.obj" befindet. Diese Datei finden Sie im Ordner "Preferences" in Ihrem Systemordner. Wenn sie die Datei "identitydb.obj" löschen, werden alle Zertifikate gelöscht. Sie müssen alle Zertifikate, die Sie weiter verwenden möchten, noch einmal akzeptieren.

Zur Benutzung von MRJ

MRJ in einem Browser
Die meisten Benutzer verwenden MRJ mit Hilfe eines Browsers. MRJ wird von Microsoft Internet Explorer (MSIE), HotJava und iCab als deren JVM benutzt. Falls Sie MSIE 4.0 verwenden, müssen Sie im Einblendmenü "Java-VM" die Option "Apple MRJ" auswählen. Sie erhalten dieses Einblendmenü, indem Sie im Menü "Bearbeiten" den Punkt "Optionen" auswählen. Wählen Sie dann im Bereich "Webbrowser" den Punkt "Java" aus. MSIE 4.5 verwendet bereits automatisch MRJ. Gegenwärtig verwendet der Netscape Navigator MRJ nicht.

MRJ und der Apple Applet Runner
Der Apple Applet Runner ist ein Dienstprogramm, mit dem man Applets auch ohne einen Browser starten kann. Es stellt keine HTML-Seiten dar, sondern extrahiert die <applet> HTML-Marken aus dem HTML-Code und startet dann das Applet. Weitere Informationen und Änderungen zum Apple Applet Runner finden Sie im Dokument "Über Apple Applet Runner".

Java-Programme
Viele Entwickler schreiben Java-Programme, die auf einem Macintosh lauffähig sind. Diese Programme sehen wie jedes andere Macintosh Programm aus und können im Finder gestartet werden. Wenn MRJ richtig installiert ist, müssen Sie keine besonderen Hinweise beachten, um diese Programme zu benutzen.

Bekannte Probleme

Mac OS 8.1
MRJ benötigt die AppleScript-Bibliothek "Internet Scripting" im Ordner "Scripting Additions", der sich im Ordner "Systemerweiterungen" befindet. Falls diese Datei dort nicht vorhanden ist, sollten Sie mit der Mac OS 8.1 Installation die fehlende Bibliothek installieren.

Java Datum
Die interne Uhr von Java verwendet als Zeitbasis den 1. Januar 1970. Wenn die Macintosh Uhr auf ein früheres Datum eingestellt ist, funktionieren Java Applets und Programme nicht einwandfrei. Stellen Sie sicher, daß das aktuelle Datum im Kontrollfeld "Datum & Uhrzeit" nicht früher als 1.1.1970 ist.

Beschädigte Sicherheitsdatenbank
Wenn die Sicherheitsdatenbank in der Datei "identitydb.obj" beschädigt ist, werden Sie möglicherweise durch eine Nachricht darauf hingewiesen. In einigen Fällen erhalten Sie auch falsche Warnmeldungen, die folgendermaßen aussehen können:

java.security.KeyManagementException: name conflict
at sun.security.provider.IdentityDatabase.addIdentity(IdentityDatabase.java)

Falls dies passiert, sollten Sie die Sicherheitsdatenbank löschen. Weitere Informationen dazu, entnehmen Sie dem Abschnitt "Signed Applets".

Drucken
Wenn Sie den Befehl "Drucken" von Ihrem Web-Browser verwenden, um eine Webseite zu drucken, die ein Applet enthält, wird das Applet nicht mitgedruckt. Sie sollten daher den Befehl "Drucken" aus dem Applet verwenden, falls verfügbar.

Swing
MRJ 2.2 ist mit den "Swing" Versionen 1.0.3, 1.1 und 1.1.1 kompatibel. Weitere Informationen zur Software "Swing" erhalten Sie im Internet auf der Sun Microsystems Website unter: http://java.sun.com/. Um Swing-basierte Applets und Programme verwenden zu können, legen Sie die Datei "swingall.jar" in den Ordner "MRJClasses" innerhalb des Ordners "MRJ Libraries" im Ordner "Systemerweiterungen".

WARNUNG: Die Java Technologie ist nicht fehlertolerant. Sie eignet sich nicht als Steuerungssystem in kritischen Anwendungsbereichen wie nukleare Anlagen, Luftraumüberwachung oder Kommunikationssystemen. Apple übernimmt keine Verantwortung, wenn das Versagen der Java Technologie oder von Mac OS Runtime for Java Todesfälle, Verletzungen oder schwerwiegende Personen- oder Umweltschäden verursacht.


Español

Editor's Note: Information about MRJ 2.2.5 is available in English only.

Note su Mac OS Runtime per Java MRJ 2.2.4

Mac OS Runtime per Java (MRJ) 2.2.4 è un aggiornamento di MRJ 2.2.3 che corregge un problema di sicurezza evidenziato dagli utenti. In alcuni casi, questo probelma avrebbe permesso ad applet non autorizzate l'accesso al disco rigido locale.

Le note di rilascio fornite con MRJ 2.2, MRJ 2.2.2, MRJ 2.2.3 sono riportate di seguito. A parte le informazioni precedentemente menzionate, queste note di rilascio sono ancora valide.

Note su Mac OS Runtime per Java MRJ 2.2.3

Mac OS Runtime per Java (MRJ) 2.2.3 è un aggiornamento di MRJ 2.2.2 che migliora l'uso della memoria e fornisce prestazioni sostanzialmente superiori agli utenti che accedono ripetutamente ai documenti JAR su un network. Risolve inoltre diversi problemi tipici degli utenti di sistemi internazionali a 2-byte.

MRJ 2.2.3 è "Gold Certified" per l'utilizzo con Oracle Applications 11i assieme a Microsoft Internet Explorer 5.0. È "Bronze Certified" per l'utilizzo di applicazioni realizzate con Oracle Developer 6i e installate su Oracle Developer Server utilizzando Microsoft Internet Explorer 5.0 per accedere al client.

Note

· Caching JAR
MRJ 2.2.3 introduce il caching JAR. Il codice Java è spesso memorizzato sui server in un formato speciale definito JAR (Java Archive). Se un'applet Java utilizza molti JAR o se i JAR sono di grandi dimensioni, è possibile impiegare parecchio tempo per caricare questi documenti. Il caching JAR registra copie di questi documenti sul disco rigido locale. Quando si utilizza nuovamente un certo JAR, MRJ verifica la presenza di una versione più recente sul server. Se questa non è disponibile, viene utilizzata la copia locale e l'applicazione si avvia molto più velocemente di quanto lo farebbe senza caching.

I documenti JAR sono registrati in una cartella chiamata MRJ Cache situata in Cartella Sistema:Preferenze. Nel tempo questa cartella crescerà di dimensioni, ma senza superare i 100MB. Se vi fosse necessità di liberare un po' di spazio, è possibile chiudere tutte le applicazioni aperte e trascinare la cartella MRJ Cache nel Cestino. La prossima volta che ci sarà bisogno di registrare un documento JAR, MRJ creerà una nuova cartella MRJ Cache.

· Microsoft Internet Explorer 5.0
MRJ 2.2.3 risolve alcuni dei principali problemi che si verificavano utilizzando MRJ 2.2 e MRJ 2.2.2 con Microsoft Internet Explorer (MSIE) 5.0, sebbene non tutti. Apple si sta adoperando per risolverli in collaborazione con Microsoft e saranno sistemati in un prossimo rilascio.

· Giochi Yahoo

I giochi Yahoo utilizzati in MSIE 5.0 possono bloccarsi quando si fa clic sul pulsante "Exit Games". È possibile evitare questo problema utilizzando MSIE 4.5 per questi giochi.

· MRJ SDK

I programmatori che lavorano con MRJ 2.2.3 possono continuare ad utilizzare MRJ SDK 2.2. Apple non rilascerà un nuovo MRJ SDK con MRJ 2.2.3. È possibile scaricare MRJ SDK 2.2 da http://developer.apple.com/java/text/download.html.

· Condivisione Web
Se si utilizza Condivisione Web e si vuole includere le applet Java nelle proprie pagine, è necessario registrare i propri documenti classi nel formato ZIP o JAR per evitare un errore in Condivisione Web che impedisca l'esecuzione di un'applet nel caso in cui una delle sue classi avesse un carattere "$" nel nome. Per ulteriori informazioni sulla creazione e sulla registrazione delle applet, è possibile scaricare MRJ SDK 2.2. Consultare la cartella Pagine Web sul disco rigido per altre informazioni su Condivisione Web.

· Messaggio errato di "Documento non trovato"
In alcuni casi Apple Applet Runner può riportare il messaggio "Documento non trovato" quando in realtà non riesce ad aprire un documento esistente. Questo è abbastanza comune quando si utilizza un'applet localizzata in una lingua differente da quella del sistema. Apple è a conoscenza del problema e lo risolverà in una prossima versione di MRJ.

· Note su MRJ 2.2 e 2.2.2

Le note di rilascio fornite con MRJ 2.2 e MRJ 2.2.2 sono riportate di seguito. A parte le informazioni precedentemente menzionate, queste note di rilascio sono ancora valide.


Note su Mac OS Runtime per Java MRJ 2.2.2

Mac OS Runtime per Java (MRJ) 2.2.2 è un aggiornamento di MRJ 2.2 che migliora l'uso della memoria e risolve alcuni problemi di sicurezza.

Note

· Microsoft Internet Explorer 5.0
MRJ 2.2.2 risolve un problema di sicurezza di rete che era solito verificarsi con l'utilizzo di MSIE 5.0. MRJ 2.2.2 non risolve tutti i problemi di rete che gli utenti incontrano utilizzando MRJ 2.2 con Microsoft Internet Explorer 5.0. Apple si sta adoperando per risolverli in collaborazione con Microsoft.

· Mac OS 8.1 e Internet Scripting Addition
Le informazioni contenute in "Note su MRJ 2.2" sotto non sono corrette. Dovrebbe essere riportato: Su Mac OS 8.1, MRJ richiede di installare Internet Scripting Addition nella cartella Scripting Additions all'interno della cartella Estensioni. Se questo documento non è presente, è possibile reinstallarlo dal CD Mac OS 8.1. Fare doppio clic su "Installa Mac OS 8.1", fare clic su "Continua", selezionare il disco di destinazione, quindi scegliere l'opzione "Aggiungi/Rimuovi". Sulla schermata visualizzata, controllare Accesso a Internet, quindi fare clic sul pulsante di avvio. Verrà così avviato l'installer di Accesso a Internet. Seguire le istruzioni per installare tutto il software di Accesso a Internet, incluso Internet Scripting Addition.

· MRJ SDK
Gli sviluppatori che utilizzano MRJ 2.2.2 possono continuare a usare MRJ SDK 2.2. Apple non rilascerà una nuova versione di MRJ SDK con MRJ 2.2.2.

· Note su MRJ 2.2
Le note di rilascio fornite con MRJ 2.2 sono riportate di seguito. A parte le informazioni precedentemente menzionate, queste note di rilascio sono ancora valide.


Note su Mac OS Runtime per Java MRJ 2.2

MRJ è l'implementazione Apple di Java Virtual Machine (JVM). MRJ 2.2 implementa la specifica JDK 1.1.8 di Sun Microsystems. MRJ fornisce il software di runtime necessario per eseguire applet e applicazioni Java e Apple Applet Runner, una semplice utility per eseguire applet senza un browser.

Requisiti minimi di sistema


· Computer Macintosh con processore PowerPC.
· Mac OS 8.1 o successivo.
· La quantità di memoria necessaria varia a seconda dell'utilizzo di Java. La quantià minima richiesta per eseguire una semplice applet è 40 megabyte (MB) di RAM, con la memoria virtuale attiva e impostata su almeno 44 MB. Per eseguire applet e applicazioni complesse, si raccomandano almeno 64 MB di RAM. L'installazione di 64 MB di RAM o più incrementa notevolmente le prestazioni.
· Almeno 13 MB di spazio libero su disco.

Installazione


Se si utilizza Software Update Facility di Apple per l'aggiornamento a MRJ 2.2, non è necessario reinstallarlo perché è già installato.

· Istruzioni di installazion
e
È necessario eseguire queste istruzioni di installazione se si è eseguito il download di MRJ Installer dal sito web Apple, se lo si è ottenuto da altre fonti, o se per qualsiasi ragione lo si vuole reinstallare.

1. Fare doppio clic sull'Installer nella cartella di installazione di MRJ.
2. Rivedere il contratto di licenza e se si accettano tutti le condizioni specificate, fare clic su "Accetto". Se non si accettano le condizioni del contratto, fare clic su "Rifiuto" e l'Installer sarà chiuso.
3. Utilizzare "Cambia Disco" per selezionare un disco di sistema per installare MRJ.
4. Inoltre selezionare l'opzione "Installazione Standard" o "Installazione ad Hoc". Se non si è sicuri di quali file è necessario installare, scegliere l'opzione "Installazione Standard". Per maggiori informazioni riguardo queste opzioni leggere quanto riportato sotto.
5. Fare clic su "Installa" per avviare l'installazione dei file MRJ 2.2 sul disco selezionato.

· Installazione Standar
d
Selezionando l'opzione "Installazione Standard" verranno installati:
1. Il software di runtime MRJ all'interno della cartella MRJ Libraries nella cartella Estensioni.
2. Apple Applet Runner, i contratti di licenza e questo documento all'interno della cartella Mac OS Runtime per Java nella cartella Apple Extra.
3. MRJ Enabler nella cartella Estensioni solamente se l'installazione viene eseguita su Mac OS 8.1. Questa installazione richiede il riavvio del computer.

· Installazione ad Ho
c
L'Installazione ad Hoc permette di installare solo il software di runtime, MRJ Enabler o Apple Applet Runner. La selezione di MRJ Enabler richiede il riavvio del computer.

Nuove caratteristiche in MRJ 2.2


MRJ 2.2 è significativamente più piccolo di MRJ 2.1.4. Due cambiamenti prioritari hanno contribuito a ridurne la dimensione. Innanzitutto, MRJ 2.2 non installa più Text Encoding Converter (TEC) e Text Encodings perché ora sono componenti standard di tutte le versioni di Mac OS supportate da MRJ 2.2. In secondo luogo sono state spostate le classi MRJ meno usate in MRJ SDK, che contiene il software di principale interesse per gli sviluppatori. Consultare la pagina degli sviluppatori MRJ Apple all'indirizzo http://developer.apple.com/java/ per ulteriori informazioni su queste classi o su MRJ SDK.

· Apple Applet Runne

r
MRJ 2.2 include Apple Applet Runner. Per maggiori informazioni consultare "Utilizzare MRJ con Apple Applet Runner" di seguito riportato.

· Applet firmate
MRJ 2.2 aumenta il supporto per le applet firmate. Generalmente, le applet non hanno i permessi di accesso al disco rigido, di stampa o di collegamento a siti oltre al proprio. Java impone queste e altre limitazioni al fine di evitare la lettura di informazioni private e la scrittura di dati non desiderati o l'esecuzione di operazioni inaspettate. Un'applet firmata include un certificato che assicura che l'applet è stata creata da qualcuno di fiducia e che non è stata alterata dopo la creazione. Quando un'applet è stata firmata, non è più soggetta a restrizioni.

MRJ ha un database di certificati di fiducia. Se si accede ad un'applet firmata e il certificato è già contenuto nel database Java security, l'applet sarà eseguita senza restrizioni. Se il certificato non è incluso nel database Java security, verranno visualizzate le informazioni relative al certificato. Sarà quindi possibile scegliere tra (1) accettare permanentemente il certificato, ciò significa che sarà aggiunto al database Java security, o (2) eseguire l'applet senza inserire il certificato nel database oppure (3) rifiutare il certificato.

NOTA: Se si rifiuta il certificato, l'applet sarà eseguita ugualmente, fino a quando non si tenterà di eseguire azioni non consentite. Se si tenterà di eseguire azioni non consentite, Java visualizzerà un messaggio di errore relativo alla sicurezza e bloccherà l'azione.

NOTA: Il database di sicurezza MRJ è separato dal database memorizzato nel browser. In alcuni casi sarà necessario accettare la firma due volte: una volta per il browser per accedere al sito e un'altra volta per MRJ per eseguire applet senza restrizioni.

NOTA: Se si desidera eliminare un certificato che era stato precedentemente accettato, è necessario rimuovere il database di sicurezza, "identitydb.obj" situato nella cartella Preferenze all'interno della Cartella Sistema attiva. Rimuovendo "identitydb.obj" verranno rimossi tutti i certificati, quindi sarà necessario riaccettare ciò che si vuole utilizzare.

Utilizzare MRJ

· Utilizzare MRJ da un browser
Molti utenti utilizzano MRJ da un browser. Attualmente, Microsoft Internet Explorer (MSIE), HotJava e iCab utilizzano MRJ come Java VM. Se si utilizza MSIE 4.0, sarà necessario impostare la Java VM di default su Apple MRJ. Per selezionare MRJ, scegliere "Preferenze..." dal menu "Composizione". Scegliere "Java" nella sezione "Web Browser" della finestra delle preferenze di Internet Explorer, quindi scegliere "Apple MRJ" dal menu a comparsa "Java Virtual Machine". MSIE 4.5 è impostato per utilizzare MRJ automaticamente. La versione attuale di Netscape Navigator non utilizza MRJ.

· Utilizzare MRJ con Apple Applet Runner
Apple Applet Runner è un'utility per l'esecuzione di applet senza l'utilizzo del browser. I documenti HTML non vengono visualizzati, ma vengono semplicemente estratti i tag <applet> dall'HTML ed eseguite le applet. Il documento "Note su Apple Applet Runner" descrive le nuove caratteristiche e contiene informazioni sull'utilizzo di Apple Applet Runner.

· Utilizzare Applicazioni Java
Molti sviluppatori stanno creando applicazioni Java che possono essere eseguite con Macintosh. Queste applicazioni assomigliano a molte altre applicazioni Macintosh e possono essere eseguite dal Finder come ogni altra applicazione Macintosh. Se MRJ è correttamente installato, non è necessario utilizzare nulla di speciale per poter eseguire queste applicazioni.

Problemi conosciuti

· Mac OS 8.1
MRJ richiede di aver installato il dizionario AppleScript Internet Scripting nella cartella Scripting Additions all'interno della cartella Estensioni. Se questo documento non è presente, rieseguire l'installazione di Mac OS 8.1 e reinstallare il dizionario.

· Java epoch date
L'orologio interno di Java calcola la data dal 1 gennaio 1970. Se l'orologio di sistema del computer è impostato su una data antecedente, le applet e le applicazioni Java potrebbero chiudersi inaspettatamente. Assicurarsi che la data attuale nel controllo "Data & Ora" sia impostata correttamente.

· Database di sicurezza corrotto
Occasionalmente, il database Java security ("identitydb.obj") potrebbe corrompersi. Se questo accade, verrà visualizzato un messaggio che riporta che il database è corrotto oppure è possibile ricevere messaggi di errore di sicurezza, che potrebbero assomigliare al seguente:
java.security.KeyManagementException: name conflict
at sun.security.provider.IdentityDatabase.addIdentity(IdentityDatabase.java)

Se questo accade, rimuovere il database di sicurezza. Consultare la sezione sulle applet firmate sopra riportata.

· Stampa
Se si utilizza il comando "Stampa" del proprio browser per stampare una pagina web che contiene un'applet, la pagina stampata conterrà un'area vuota nel punto in cui è posizionata l'applet. Se è disponibile, utilizzare invece il comando "Stampa" dell'applet per stampare la pagina.

· Swing
MRJ 2.2 è compatibile con Swing 1.0.3, Swing 1.1 e Swing 1.1.1. Per maggiori informazioni o per ottenere una copia del software Swing, consultare il sito web di Sun Microsystems all'indirizzo http://java.sun.com/. Per eseguire le applet e le applicazioni basate su Swing, posizionare il documento "swingall.jar" all'interno di Cartella Sistema:Estensioni:MRJ Libraries:MRJClasses:.


ATTENZIONE: La tecnologia Java non è in grado di risolvere autonomamente eventuali errori o blocchi di sistema e non è progettata o intesa per l'utilizzo di controlli on-line di macchinari per il funzionamento di impianti nucleari, navigazione aerea o sistemi di comunicazione, o macchine per il controllo aereo in cui i possibili errori della tecnologia Java o di Mac OS Runtime per Java possano condurre direttamente alla morte, a lesioni o danni fisici o ambientali gravi.



Italiano

Italiano

Editor's Note: Information about MRJ 2.2.5 is available in English only.

Note su Mac OS Runtime per Java MRJ 2.2.4

Mac OS Runtime per Java (MRJ) 2.2.4 è un aggiornamento di MRJ 2.2.3 che corregge un problema di sicurezza evidenziato dagli utenti. In alcuni casi, questo probelma avrebbe permesso ad applet non autorizzate l'accesso al disco rigido locale.

Le note di rilascio fornite con MRJ 2.2, MRJ 2.2.2, MRJ 2.2.3 sono riportate di seguito. A parte le informazioni precedentemente menzionate, queste note di rilascio sono ancora valide.

Note su Mac OS Runtime per Java MRJ 2.2.3

Mac OS Runtime per Java (MRJ) 2.2.3 è un aggiornamento di MRJ 2.2.2 che migliora l'uso della memoria e fornisce prestazioni sostanzialmente superiori agli utenti che accedono ripetutamente ai documenti JAR su un network. Risolve inoltre diversi problemi tipici degli utenti di sistemi internazionali a 2-byte.

MRJ 2.2.3 è "Gold Certified" per l'utilizzo con Oracle Applications 11i assieme a Microsoft Internet Explorer 5.0. È "Bronze Certified" per l'utilizzo di applicazioni realizzate con Oracle Developer 6i e installate su Oracle Developer Server utilizzando Microsoft Internet Explorer 5.0 per accedere al client.

Note

· Caching JAR
MRJ 2.2.3 introduce il caching JAR. Il codice Java è spesso memorizzato sui server in un formato speciale definito JAR (Java Archive). Se un'applet Java utilizza molti JAR o se i JAR sono di grandi dimensioni, è possibile impiegare parecchio tempo per caricare questi documenti. Il caching JAR registra copie di questi documenti sul disco rigido locale. Quando si utilizza nuovamente un certo JAR, MRJ verifica la presenza di una versione più recente sul server. Se questa non è disponibile, viene utilizzata la copia locale e l'applicazione si avvia molto più velocemente di quanto lo farebbe senza caching.

I documenti JAR sono registrati in una cartella chiamata MRJ Cache situata in Cartella Sistema:Preferenze. Nel tempo questa cartella crescerà di dimensioni, ma senza superare i 100MB. Se vi fosse necessità di liberare un po' di spazio, è possibile chiudere tutte le applicazioni aperte e trascinare la cartella MRJ Cache nel Cestino. La prossima volta che ci sarà bisogno di registrare un documento JAR, MRJ creerà una nuova cartella MRJ Cache.

· Microsoft Internet Explorer 5.0
MRJ 2.2.3 risolve alcuni dei principali problemi che si verificavano utilizzando MRJ 2.2 e MRJ 2.2.2 con Microsoft Internet Explorer (MSIE) 5.0, sebbene non tutti. Apple si sta adoperando per risolverli in collaborazione con Microsoft e saranno sistemati in un prossimo rilascio.

Giochi Yahoo

I giochi Yahoo utilizzati in MSIE 5.0 possono bloccarsi quando si fa clic sul pulsante "Exit Games". È possibile evitare questo problema utilizzando MSIE 4.5 per questi giochi.

MRJ SDK

I programmatori che lavorano con MRJ 2.2.3 possono continuare ad utilizzare MRJ SDK 2.2. Apple non rilascerà un nuovo MRJ SDK con MRJ 2.2.3. È possibile scaricare MRJ SDK 2.2 da http://developer.apple.com/java/text/download.html.

Condivisione Web
Se si utilizza Condivisione Web e si vuole includere le applet Java nelle proprie pagine, è necessario registrare i propri documenti classi nel formato ZIP o JAR per evitare un errore in Condivisione Web che impedisca l'esecuzione di un'applet nel caso in cui una delle sue classi avesse un carattere "$" nel nome. Per ulteriori informazioni sulla creazione e sulla registrazione delle applet, è possibile scaricare MRJ SDK 2.2. Consultare la cartella Pagine Web sul disco rigido per altre informazioni su Condivisione Web.

Messaggio errato di "Documento non trovato"
In alcuni casi Apple Applet Runner può riportare il messaggio "Documento non trovato" quando in realtà non riesce ad aprire un documento esistente. Questo è abbastanza comune quando si utilizza un'applet localizzata in una lingua differente da quella del sistema. Apple è a conoscenza del problema e lo risolverà in una prossima versione di MRJ.

Note su MRJ 2.2 e 2.2.2

Le note di rilascio fornite con MRJ 2.2 e MRJ 2.2.2 sono riportate di seguito. A parte le informazioni precedentemente menzionate, queste note di rilascio sono ancora valide.


Note su Mac OS Runtime per Java MRJ 2.2.2

Mac OS Runtime per Java (MRJ) 2.2.2 è un aggiornamento di MRJ 2.2 che migliora l'uso della memoria e risolve alcuni problemi di sicurezza.

Note

Microsoft Internet Explorer 5.0
MRJ 2.2.2 risolve un problema di sicurezza di rete che era solito verificarsi con l'utilizzo di MSIE 5.0. MRJ 2.2.2 non risolve tutti i problemi di rete che gli utenti incontrano utilizzando MRJ 2.2 con Microsoft Internet Explorer 5.0. Apple si sta adoperando per risolverli in collaborazione con Microsoft.

Mac OS 8.1 e Internet Scripting Addition
Le informazioni contenute in "Note su MRJ 2.2" sotto non sono corrette. Dovrebbe essere riportato: Su Mac OS 8.1, MRJ richiede di installare Internet Scripting Addition nella cartella Scripting Additions all'interno della cartella Estensioni. Se questo documento non è presente, è possibile reinstallarlo dal CD Mac OS 8.1. Fare doppio clic su "Installa Mac OS 8.1", fare clic su "Continua", selezionare il disco di destinazione, quindi scegliere l'opzione "Aggiungi/Rimuovi". Sulla schermata visualizzata, controllare Accesso a Internet, quindi fare clic sul pulsante di avvio. Verrà così avviato l'installer di Accesso a Internet. Seguire le istruzioni per installare tutto il software di Accesso a Internet, incluso Internet Scripting Addition.

MRJ SDK
Gli sviluppatori che utilizzano MRJ 2.2.2 possono continuare a usare MRJ SDK 2.2. Apple non rilascerà una nuova versione di MRJ SDK con MRJ 2.2.2.

Note su MRJ 2.2
Le note di rilascio fornite con MRJ 2.2 sono riportate di seguito. A parte le informazioni precedentemente menzionate, queste note di rilascio sono ancora valide.


Note su Mac OS Runtime per Java MRJ 2.2

MRJ è l'implementazione Apple di Java Virtual Machine (JVM). MRJ 2.2 implementa la specifica JDK 1.1.8 di Sun Microsystems. MRJ fornisce il software di runtime necessario per eseguire applet e applicazioni Java e Apple Applet Runner, una semplice utility per eseguire applet senza un browser.

Requisiti minimi di sistema


Computer Macintosh con processore PowerPC.
Mac OS 8.1 o successivo.
La quantità di memoria necessaria varia a seconda dell'utilizzo di Java. La quantià minima richiesta per eseguire una semplice applet è 40 megabyte (MB) di RAM, con la memoria virtuale attiva e impostata su almeno 44 MB. Per eseguire applet e applicazioni complesse, si raccomandano almeno 64 MB di RAM. L'installazione di 64 MB di RAM o più incrementa notevolmente le prestazioni.
Almeno 13 MB di spazio libero su disco.

Installazione


Se si utilizza Software Update Facility di Apple per l'aggiornamento a MRJ 2.2, non è necessario reinstallarlo perché è già installato.

Istruzioni di installazion
e
È necessario eseguire queste istruzioni di installazione se si è eseguito il download di MRJ Installer dal sito web Apple, se lo si è ottenuto da altre fonti, o se per qualsiasi ragione lo si vuole reinstallare.

1. Fare doppio clic sull'Installer nella cartella di installazione di MRJ.
2. Rivedere il contratto di licenza e se si accettano tutti le condizioni specificate, fare clic su "Accetto". Se non si accettano le condizioni del contratto, fare clic su "Rifiuto" e l'Installer sarà chiuso.
3. Utilizzare "Cambia Disco" per selezionare un disco di sistema per installare MRJ.
4. Inoltre selezionare l'opzione "Installazione Standard" o "Installazione ad Hoc". Se non si è sicuri di quali file è necessario installare, scegliere l'opzione "Installazione Standard". Per maggiori informazioni riguardo queste opzioni leggere quanto riportato sotto.
5. Fare clic su "Installa" per avviare l'installazione dei file MRJ 2.2 sul disco selezionato.

Installazione Standar
d
Selezionando l'opzione "Installazione Standard" verranno installati:
1. Il software di runtime MRJ all'interno della cartella MRJ Libraries nella cartella Estensioni.
2. Apple Applet Runner, i contratti di licenza e questo documento all'interno della cartella Mac OS Runtime per Java nella cartella Apple Extra.
3. MRJ Enabler nella cartella Estensioni solamente se l'installazione viene eseguita su Mac OS 8.1. Questa installazione richiede il riavvio del computer.

Installazione ad Ho
c
L'Installazione ad Hoc permette di installare solo il software di runtime, MRJ Enabler o Apple Applet Runner. La selezione di MRJ Enabler richiede il riavvio del computer.

Nuove caratteristiche in MRJ 2.2


MRJ 2.2 è significativamente più piccolo di MRJ 2.1.4. Due cambiamenti prioritari hanno contribuito a ridurne la dimensione. Innanzitutto, MRJ 2.2 non installa più Text Encoding Converter (TEC) e Text Encodings perché ora sono componenti standard di tutte le versioni di Mac OS supportate da MRJ 2.2. In secondo luogo sono state spostate le classi MRJ meno usate in MRJ SDK, che contiene il software di principale interesse per gli sviluppatori. Consultare la pagina degli sviluppatori MRJ Apple all'indirizzo http://developer.apple.com/java/ per ulteriori informazioni su queste classi o su MRJ SDK.

Apple Applet Runne
r
MRJ 2.2 include Apple Applet Runner. Per maggiori informazioni consultare "Utilizzare MRJ con Apple Applet Runner" di seguito riportato.

Applet firmat
e
MRJ 2.2 aumenta il supporto per le applet firmate. Generalmente, le applet non hanno i permessi di accesso al disco rigido, di stampa o di collegamento a siti oltre al proprio. Java impone queste e altre limitazioni al fine di evitare la lettura di informazioni private e la scrittura di dati non desiderati o l'esecuzione di operazioni inaspettate. Un'applet firmata include un certificato che assicura che l'applet è stata creata da qualcuno di fiducia e che non è stata alterata dopo la creazione. Quando un'applet è stata firmata, non è più soggetta a restrizioni.

MRJ ha un database di certificati di fiducia. Se si accede ad un'applet firmata e il certificato è già contenuto nel database Java security, l'applet sarà eseguita senza restrizioni. Se il certificato non è incluso nel database Java security, verranno visualizzate le informazioni relative al certificato. Sarà quindi possibile scegliere tra (1) accettare permanentemente il certificato, ciò significa che sarà aggiunto al database Java security, o (2) eseguire l'applet senza inserire il certificato nel database oppure (3) rifiutare il certificato.

NOTA
: Se si rifiuta il certificato, l'applet sarà eseguita ugualmente, fino a quando non si tenterà di eseguire azioni non consentite. Se si tenterà di eseguire azioni non consentite, Java visualizzerà un messaggio di errore relativo alla sicurezza e bloccherà l'azione.

NOTA
: Il database di sicurezza MRJ è separato dal database memorizzato nel browser. In alcuni casi sarà necessario accettare la firma due volte: una volta per il browser per accedere al sito e un'altra volta per MRJ per eseguire applet senza restrizioni.

NOTA
: Se si desidera eliminare un certificato che era stato precedentemente accettato, è necessario rimuovere il database di sicurezza, "identitydb.obj" situato nella cartella Preferenze all'interno della Cartella Sistema attiva. Rimuovendo "identitydb.obj" verranno rimossi tutti i certificati, quindi sarà necessario riaccettare ciò che si vuole utilizzare.

Utilizzare MRJ


Utilizzare MRJ da un browse
r
Molti utenti utilizzano MRJ da un browser. Attualmente, Microsoft Internet Explorer (MSIE), HotJava e iCab utilizzano MRJ come Java VM. Se si utilizza MSIE 4.0, sarà necessario impostare la Java VM di default su Apple MRJ. Per selezionare MRJ, scegliere "Preferenze..." dal menu "Composizione". Scegliere "Java" nella sezione "Web Browser" della finestra delle preferenze di Internet Explorer, quindi scegliere "Apple MRJ" dal menu a comparsa "Java Virtual Machine". MSIE 4.5 è impostato per utilizzare MRJ automaticamente. La versione attuale di Netscape Navigator non utilizza MRJ.

Utilizzare MRJ con Apple Applet Runner

Apple Applet Runner è un'utility per l'esecuzione di applet senza l'utilizzo del browser. I documenti HTML non vengono visualizzati, ma vengono semplicemente estratti i tag <applet> dall'HTML ed eseguite le applet. Il documento "Note su Apple Applet Runner" descrive le nuove caratteristiche e contiene informazioni sull'utilizzo di Apple Applet Runner.

Utilizzare Applicazioni Jav
a
Molti sviluppatori stanno creando applicazioni Java che possono essere eseguite con Macintosh. Queste applicazioni assomigliano a molte altre applicazioni Macintosh e possono essere eseguite dal Finder come ogni altra applicazione Macintosh. Se MRJ è correttamente installato, non è necessario utilizzare nulla di speciale per poter eseguire queste applicazioni.

Problemi conosciuti


Mac OS 8.
1
MRJ richiede di aver installato il dizionario AppleScript Internet Scripting nella cartella Scripting Additions all'interno della cartella Estensioni. Se questo documento non è presente, rieseguire l'installazione di Mac OS 8.1 e reinstallare il dizionario.

Java epoch dat
e
L'orologio interno di Java calcola la data dal 1 gennaio 1970. Se l'orologio di sistema del computer è impostato su una data antecedente, le applet e le applicazioni Java potrebbero chiudersi inaspettatamente. Assicurarsi che la data attuale nel controllo "Data & Ora" sia impostata correttamente.

Database di sicurezza corrott
o
Occasionalmente, il database Java security ("identitydb.obj") potrebbe corrompersi. Se questo accade, verrà visualizzato un messaggio che riporta che il database è corrotto oppure è possibile ricevere messaggi di errore di sicurezza, che potrebbero assomigliare al seguente:
java.security.KeyManagementException: name conflict
at sun.security.provider.IdentityDatabase.addIdentity(IdentityDatabase.java)

Se questo accade, rimuovere il database di sicurezza. Consultare la sezione sulle applet firmate sopra riportata.

Stamp
a
Se si utilizza il comando "Stampa" del proprio browser per stampare una pagina web che contiene un'applet, la pagina stampata conterrà un'area vuota nel punto in cui è posizionata l'applet. Se è disponibile, utilizzare invece il comando "Stampa" dell'applet per stampare la pagina.

Swin
g
MRJ 2.2 è compatibile con Swing 1.0.3, Swing 1.1 e Swing 1.1.1. Per maggiori informazioni o per ottenere una copia del software Swing, consultare il sito web di Sun Microsystems all'indirizzo http://java.sun.com/. Per eseguire le applet e le applicazioni basate su Swing, posizionare il documento "swingall.jar" all'interno di Cartella Sistema:Estensioni:MRJ Libraries:MRJClasses:.


ATTENZIONE
: La tecnologia Java non è in grado di risolvere autonomamente eventuali errori o blocchi di sistema e non è progettata o intesa per l'utilizzo di controlli on-line di macchinari per il funzionamento di impianti nucleari, navigazione aerea o sistemi di comunicazione, o macchine per il controllo aereo in cui i possibili errori della tecnologia Java o di Mac OS Runtime per Java possano condurre direttamente alla morte, a lesioni o danni fisici o ambientali gravi.


Nederlands

Nederlands

Editor's Note: Information about MRJ 2.2.5 is available in English only.

Over Mac OS Runtime for Java MRJ 2.2.4

Mac OS Runtime for Java (MRJ) 2.2.4 is een upgrade van MRJ 2.2.3 waarin een beveiligingsprobleem is verholpen dat ertoe kon leiden dat in sommige gevallen niet-geautoriseerde applets de lokale harde schijf konden benaderen.

De LeesMij-bestanden die met MRJ 2.2, MRJ 2.2.2 en MRJ 2.2.3 werden meegeleverd, ziet u hieronder. Afgezien van de bovenstaande informatie, is de informatie hieronder nog steeds van kracht.

Over Mac OS Runtime for Java MRJ 2.2.3

Mac OS Runtime for Java (MRJ) 2.2.3 is een upgrade van MRJ 2.2.2 waarin het geheugengebruik is verbeterd en waarmee aanzienlijke snelheidswinst wordt behaald wanneer in een netwerk herhaaldelijk dezelfde JAR-bestanden worden benaderd. Tevens is in deze versie een aantal problemen verholpen die van belang zijn voor gebruikers van internationale 2-bytesystemen.

MRJ 2.2.3 heeft een gouden certificaat voor gebruik met Oracle Applications 11i in combinatie met Microsoft Internet Explorer 5.0 en een bronzen certificaat voor het uitvoeren van programma's die gebouwd zijn met Oracle Developer 6i en beschikbaar worden gesteld op een Oracle Developer Server waarbij gebruik wordt gemaakt van Microsoft Internet Explorer 5.0 om de client te benaderen.

Opmerkingen

· Gecachte JAR-bestanden
In MRJ 2.2.3 wordt voor het eerst gebruik gemaakt van caches voor JAR-bestanden. Java-code bevindt zich vaak op servers in een speciaal type bestand dat een JAR-bestand wordt genoemd (JAR staat voor "Java Archive"). Als een Java-applet veel JAR's gebruikt of als de JAR's erg groot zijn, kan het lang duren voordat de bestanden geladen zijn. Er worden nu kopieën van deze bestanden op de lokale harde schijf bewaard. Wanneer u een JAR opnieuw gebruikt, wordt gecontroleerd of er zich op de server een nieuwere versie bevindt. Indien dit niet het geval is, worden het lokale exemplaar gebruikt, waardoor het programma veel sneller wordt gestart.

JAR's worden bewaard in een map 'MRJ Cache' in de map 'Voorkeuren' in de Systeemmap. Deze map zal in de loop der tijd omvang toenemen, maar de maximale grootte is 100 MB. Als u ruimte wilt vrijmaken, kunt u alle actieve programma's verlaten en vervolgens de map 'MRJ Cache' naar de prullenmand slepen. De volgende keer dat MRJ een JAR-bestand dient te cachen, wordt er een nieuwe map 'MRJ Cache' aangemaakt.

· Microsoft Internet Explorer 5.0
In MRJ 2.2.3 is een aantal van de belangrijkste problemen die zich voordoen met MRJ 2.2 en MRJ 2.2.2 en Microsoft Internet Explorer (MSIE) 5.0 verholpen; andere problemen doen zich nog steeds voor. Apple werkt samen met Microsoft aan een oplossing voor deze problemen, die in een toekomstige versie zal worden opgenomen.

· Yahoo-spellen
Als u in MSIE 5.0 Yahoo-spellen speelt, is het mogelijk dat de computer blijft hangen wanneer u op de knop 'Exit Games' klikt. U kunt dit probleem vermijden door MSIE 4.5 te gebruiken wanneer u Yahoo-spellen speelt.

· MRJ SDK
Ontwikkelaars die met MRJ 2.2.3 werken, kunnen MRJ SDK 2.2 blijven gebruiken. Apple brengt geen nieuwe MRJ SDK met MRJ 2.2.3 uit. U kunt de MRJ SDK 2.2 downloaden vanaf: http://developer.apple.com/java/text/download.html.

· Persoonlijke webserver
Als u Persoonlijke webserver gebruikt en Java-applets in uw webpagina's wilt opnemen, dient u uw class-bestanden te verpakken als ZIP- of JAR-bestanden om een probleem in Persoonlijke webserver te vermijden waardoor een applet niet kan worden gebruikt als in de naam van een van de classes het teken "$" voorkomt. Voor meer informatie over het aanmaken en verpakken van applets kunt u de MRJ SDK 2.2 downloaden. In de map 'Webpagina's' op de harde schijf van uw computer vindt u meer informatie over Persoonlijke webserver.

· Onjuiste "Bestand onvindbaar"-berichten
In sommige gevallen wordt in Apple Applet de melding "Bestand onvindbaar" weergegeven wanneer het programma een bestaand bestand niet kan lezen. Dit doet zich vooral voor wanneer een applet is gelokaliseerd in een andere taal dan de taal van de systeemprogrammatuur. Apple is zich bewust van dit probleem en zal het verhelpen in een toekomstige versie van MRJ.

· Over MRJ 2.2 en 2.2.2
De LeesMij-bestanden die met MRJ 2.2 en MRJ 2.2.2 werden meegeleverd, ziet u hieronder. Afgezien van de bovenstaande informatie, is de informatie hieronder nog steeds van kracht.


Over Mac OS Runtime for Java MRJ 2.2.2

Mac OS Runtime for Java (MRJ) 2.2.2 is een upgrade van MRJ 2.2 waarin het geheugengebruik is verbeterd en beveiligingsproblemen zijn verholpen.

Opmerkingen

· Microsoft Internet Explorer 5.0
In MRJ 2.2.2 is een netwerkbeveiligingsprobleem verholpen dat zich kon voordoen als MSIE 5.0 werd gebruikt. In MRJ 2.2.2 doet zich nog steeds een aantal andere netwerkproblemen voor die zich ook voordeden bij het gebruik van MRJ 2.2 in combinatie met Microsoft Internet Explorer 5.0. Apple neemt deze problemen serieus en werkt nauw samen met Microsoft om deze problemen op te lossen.

· Mac OS 8.1 en het script-extrabestand 'Internet-scriptfuncties'
De informatie in "Over MRJ 2.2", hieronder, is onjuist. Er had moeten staan: Als u met Mac OS 8.1 werkt, is voor een juiste werking van MRJ de aanwezigheid vereist van het bestand 'Internet-scriptfuncties' in de map 'Script-extra's' in de map 'Extensies' in de Systeemmap. Als dit bestand niet aanwezig is, kunt u het opnieuw installeren met behulp van de Mac OS 8.1-cd. Klik dubbel op 'Installatie Mac OS 8.1', klik op 'Ga door', selecteer de doelschijf en selecteer de optie 'Voeg toe/Verwijder'. Kruis in het scherm 'Speciale installatie en verwijdering' het onderdeel 'Internet-toegang' aan en klik vervolgens op 'Start'. Hiermee start u het installatieprogramma van Internet-toegang. Volg de instructies op het scherm om alle Internet-toegangprogrammatuur, waaronder het bestand 'Internet-scriptfuncties', te installeren.

· MRJ SDK
Ontwikkelaars die met MRJ 2.2.2 werken, kunnen MRJ SDK 2.2 blijven gebruiken. Apple brengt geen nieuwe MRJ SDK met MRJ 2.2.2 uit.

· Over MRJ 2.2
Het LeesMij-bestand dat met MRJ 2.2 werd meegeleverd, ziet u hieronder. Afgezien van de bovenstaande informatie, is de informatie hieronder nog steeds van kracht.

Over Mac OS Runtime for Java MRJ 2.2

MRJ is Apple's implementatie van de Java Virtual Machine (JVM) van Sun Microsystems. MRJ 2.2 is een implementatie van de JDK 1.1.8-specificatie van Sun. MRJ omvat de programmatuur die nodig is om Java-applets en Java-programma's te kunnen uitvoeren. Verder bevat MRJ de Apple Applet Runner, een eenvoudig hulpprogramma om applets uit te voeren dat veel kleiner is dan een browser.

Minimale systeemvereisten

· Macintosh computer met een PowerPC-processor.
· Mac OS 8.1 of hoger.
· Hoeveel geheugen is vereist, hangt af van de manier waarop u Java gebruikt. Voor het starten van eenvoudige applets is minimaal 40 MB RAM-geheugen vereist en moet virtueel geheugen zijn ingeschakeld en zijn ingesteld op minimaal 44 MB. Om complexere applets en programma's te starten, wordt 64 MB RAM-geheugen sterk aanbevolen. Met 64 MB RAM-geheugen (of meer) neemt de snelheid van MRJ aanzienlijk toe.
· Minimaal 13 MB vrije ruimte op de harde schijf.

Installatie

Als u Apple Programmatuurupdate hebt gebruikt om MRJ bij te werken tot versie 2.2, zijn alle benodigde bestanden geïnstalleerd en hoeft u de installatie niet opnieuw uit te voeren.

· Installatie-instructies
Volg de onderstaande installatie-instructies als u het MRJ-installatieprogramma hebt gedownload van de Apple website, op een andere manier hebt verkregen of als u de programmatuur opnieuw wilt installeren.

1. Klik dubbel op het installatieprogramma in de MRJ-installatiemap.
2. Lees de licentieovereenkomst en klik op 'Ja' als u deze accepteert. Klik op 'Nee' als u de licentieovereenkomst niet accepteert. Het installatieprogramma wordt dan verlaten.
3. Klik, indien nodig, op de knop 'Andere schijf' om de schijf met systeemprogrammatuur te kiezen waarop u MRJ wilt installeren.
4. Kies de optie 'Standaardinstallatie' of 'Speciale installatie'. Als u niet precies weet welke bestanden u dient te installeren, kiest u de optie 'Standaardinstallatie'. Hieronder vindt u meer informatie over beide opties.
5. Klik op de knop 'Installeer' om de installatie van de bestanden van MRJ 2.2 op de geselecteerde harde schijf te starten.

· Standaardinstallatie
Met de standaardinstallatie wordt het volgende geïnstalleerd:
1. De MRJ-runtimeprogrammatuur in de map 'MRJ Libraries' in de map 'Extensies'.
2. De Apple Applet Runner, licentieovereenkomsten en dit document in de map 'Mac OS Runtime for Java' in de map 'Apple extra's'.
3. Het bestand 'MRJ Enabler' in de map 'Extensies'. Dit bestand wordt alleen geïnstalleerd als u MRJ installeert onder Mac OS 8.1. In dit geval dient u de computer na de installatie opnieuw op te starten.

· Speciale installatie
Met een speciale installatie kunt u bepaalde onderdelen van MRJ installeren, bijvoorbeeld alleen de runtimeprogrammatuur, alleen 'MRJ Enabler' of alleen Apple Applet Runner. Als u 'MRJ Enabler' installeert, dient u de computer na de installatie opnieuw op te starten.

Nieuw in MRJ 2.2

MRJ 2.2 is aanzienlijk kleiner dan MRJ 2.1.4 dankzij twee belangrijke veranderingen. Ten eerste worden met MRJ 2.2 niet langer de Tekstcodering-convertor en de Tekstcoderingen geïnstalleerd omdat dit nu standaardcomponenten zijn van alle versies van het Mac OS die door MRJ 2.2 worden ondersteund. Ten tweede zijn "classes" die nauwelijks werden gebruikt, verplaatst van MRJ naar de MRJ Software Developer Kit (SDK), die software bevat die voornamelijk voor ontwikkelaars interessant is. Raadpleeg de

voor MRJ-ontwikkelaars bestemde website van Apple op http://developer.apple.com/java/ voor meer informatie over deze "classes" of de MRJ SDK.

· Apple Applet Runner
Met MRJ 2.2 wordt het programma Apple Applet Runner geïnstalleerd. Zie het gedeelte "MRJ gebruiken met Apple Applet Runner" hieronder voor meer informatie.

· Ondertekende applets
MRJ 2.2 biedt verbeterde ondersteuning voor ondertekende applets. In het algemeen geldt dat applets geen toegang mogen hebben tot de harde schijf, niet kunnen worden afgedrukt en geen verbinding tot stand kunnen brengen met andere sites dan hun eigen site. Java legt deze en andere beperkingen op om te voorkomen dat er wordt geprobeerd privé-gegevens te lezen, ongewenste informatie naar uw schijf weg te schrijven of andere onverwachte bewerkingen uit te voeren. Een ondertekende applet bevat een certificaat dat u ervan verzekert dat de applet is gemaakt door iemand die u vertrouwt en dat de applet niet is gewijzigd sinds hij werd aangemaakt. Wanneer een applet is ondertekend, zijn de hierboven genoemde beperkingen niet langer van toepassing

MRJ houdt een database bij van certificaten die u vertrouwt. Als u een ondertekende applet uitvoert waarvan het certificaat zich al in de Java-beveiligingsdatabase bevindt, wordt de applet zonder beperkingen uitgevoerd. Als het certificaat niet in de Java-beveiligingsdatabase aanwezig is, verschijnt er een dialoogvenster met informatie over het certificaat. U kunt dan kiezen uit drie mogelijkheden: 1) het certificaat permanent accepteren zodat het wordt toegevoegd aan de Java-beveiligingsdatabase; 2) de applet uitvoeren maar het certificaat niet aan de database toevoegen; 3) het certificaat weigeren.

OPMERKING: Als u het certificaat weigert, wordt de applet toch uitgevoerd zolang niet wordt geprobeerd een bewerking uit te voeren waarvoor een beperking geldt. Als wordt geprobeerd een dergelijke bewerking uit te voeren, geeft Java een beveiligingsmelding weer en wordt de bewerking geblokkeerd.

OPMERKING: De beveiligingsdatabase van MRJ staat los van de database die door de browser wordt bijgehouden. In sommige gevallen is het nodig om de handtekening tweemaal te accepteren: eenmaal voor de browser om de site te kunnen benaderen en eenmaal voor MRJ om de applet zonder beperkingen te kunnen uitvoeren.

OPMERKING: Als u een eerder geaccepteerd certificaat wilt wissen, dient u de beveiligingsdatabase te verwijderen. Deze database heeft de naam 'identitydb.obj' en bevindt zich in de map 'Voorkeuren' in de actieve Systeemmap. Als u 'identitydb.obj' verwijdert, worden alle certificaten verwijderd, zodat u certificaten van applets die u wilt blijven gebruiken opnieuw dient te accepteren.

Werken met MRJ

· MRJ gebruiken in een browser
De meeste gebruikers zullen MRJ gebruiken vanuit een browser. Momenteel wordt MRJ als Java VM gebruikt in Microsoft Internet Explorer (MSIE), HotJava en iCab. Als u MSIE 4.0 gebruikt, dient u de standaard Java VM in te stellen op Apple MRJ. Hiertoe kiest u 'Voorkeuren' uit het Wijzig-menu. Vervolgens kiest u in het venster 'Voorkeuren' de optie 'Java' in het gedeelte 'Webbrowser' en kiest u 'Apple MRJ' in het venstermenu 'Java Virtual Machine'. MSIE 4.5 is automatisch ingesteld op MRJ. De huidige versies van Netscape Navigator maken geen gebruik van MRJ.

· MRJ gebruiken met Apple Applet Runner
De Apple Applet Runner is een hulpprogramma dat veel kleiner is dan een browser. Het is niet geschikt voor de weergave van HTML-bestanden, maar haalt de <applet>-tags uit de HTML-code en voert de applets uit. Het document "Over Apple Applet Runner" beschrijft de nieuwe kenmerken en bevat informatie over het gebruik van Apple Applet Runner.

· Java-programma's
Veel ontwikkelaars maken Java-programma's die op de Macintosh kunnen worden uitgevoerd. Deze programma's zien eruit als normale Macintosh programma's en kunnen net als andere Macintosh programma's vanuit de Finder worden gestart. Zolang MRJ goed is geïnstalleerd, hoeft u geen extra stappen uit te voeren om deze programma's te kunnen gebruiken.

Bekende problemen

· Mac OS 8.1
Een vereiste voor MRJ is dat het AppleScript-woordenboek 'Internet-scriptfuncties' is geïnstalleerd in de map 'Script-extra's' in de Systeemmap. Als dit bestand niet aanwezig is, kunt u het opnieuw installeren met behulp van het installatieprogramma van Mac OS 8.1.

· Java epoch date
Java's interne klok berekent de datum als de tijd sinds 1 januari 1970. Als de systeemklok op uw Macintosh op een eerdere datum is ingesteld, is het mogelijk dat Java-applets en -programma's blijven hangen of niet goed werken. Om dit probleem te voorkomen, dient u ervoor te zorgen dat de datum in het regelpaneel 'Datum en tijd' is ingesteld op 1 januari 1970 of later.

· Beschadigde beveiligingsdatabase
Het is mogelijk dat de Java-beveiligingsdatabase, 'identitydb.obj', af en toe beschadigd kan raken. Als dit gebeurt, verschijnt er een bericht met de mededeling dat de database corrupt is of verschijnen er abusievelijk beveiligingsfouten, die er ongeveer zo uitzien:
java.security.KeyManagementException: name conflict
at sun.security.provider.IdentityDatabase.addIdentity(IdentityDatabase.java)
Als dit probleem zich voordoet, dient u de beveiligingsdatabase te verwijderen. Raadpleeg het gedeelte over ondertekende applets eerder in dit document voor meer informatie.

· Afdrukken
Als u vanuit uw browser met het commando 'Print' een webpagina afdrukt die een applet bevat, wordt de applet als een leeg vlak weergegeven op de afdruk. Gebruik zo mogelijk de afdrukfunctie van de applet om de pagina af te drukken.

· Swing
MRJ 2.2 is compatibel met Swing 1.0.3, Swing 1.1 en Swing 1.1.1. Raadpleeg de Sun Microsystems-website op http://java.sun.com/ voor meer informatie of een versie van de Swing-programmatuur. Om applets en programma's uit te voeren die op Swing zijn gebaseerd, plaatst u het bestand 'swingall.jar' in de map 'MRJClasses'. Deze map bevindt zich in de map 'MRJ Libraries' in de map 'Extensies' (in de Systeemmap).


ATTENTIE: De Java-technologie is niet foutbestendig en is niet ontworpen, gemaakt of bedoeld voor gebruik in de bediening van nucleaire installaties, de besturing van luchtvaartui