Installing the PJama SPARC JDK 1.6.5 Introduction: This release of the PJama SPARC JDK 1.2 includes new Java class libraries and Java virtual machine featuring an improved Just-In-Time (JIT) compiler, fast synchronization and a generational memory system that accelerates garbage collection. Improved collection performance is achieved in part by requiring that native methods be implemented using the Java Native Interface introduced in JDK 1.1. This system does not support the original native method interface (NMI) in JDK 1.0. SUN MICROSYSTEMS INC. IS WILLING TO LICENSE THE LICENSED SOFTWARE TO YOU ONLY UPON THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THE LICENSE AGREEMENT. For more information, see "http://www.sun.com/solaris/java" Requirements: Solaris 2.6 or Solaris 7 plus the required patches from the table below. The patches in the table can be obtained from your service provider or downloaded from the Web. To download the patches, start at http://www.sun.com/solaris/java and follow the links to download the JDK; the patches are available on the same page as the JDK. The number in parenthesis in the Solaris Version column is the output from the command 'uname -r' on that version of Solaris. The two digit number following the dash in each Patch Id is the revision of that patch. The table lists the minimum patch revisions required by this release of the JDK; later revisions are acceptable. Solaris Version Patch Id Description ------------- --------- ----------- ------------------------------------ 2.6 (5.6) 105490-05 required Linker Patch 2.6 (5.6) 105568-13 required Libthread Patch 2.6 (5.6) 105210-17 required LibC Patch 2.6 (5.6) 105181-11 recommended Kernel Update (socket close/hang) 2.6 (5.6) 105633-12 recommended OpenWindows 3.6: Xsun Patch (fonts) 2.6 (5.6) 105669-04 recommended CDE 1.2: libDTSvc Patch (dtmail) 7 (5.7) 106980-04 required Libthread Patch 7 (5.7) 107078-01 recommended OpenWindows 3.6.1 Xsun Patch In addition to the patches listed here, you may also want to install the latest patch cluster for your version of Solaris, which includes additional recommended and security patches. Solaris patch clusters are available for download on the Web; follow the appropriate links starting at http://sunsolve.sun.com. Patch Installation: Use the command 'showrev -p' to list the patches installed on your system. If the required/recommended patches are not already installed, follow the steps below to install the necessary patches. Patch installation is simplest if the patch tar file is downloaded into an empty current working directory with at least 110MB of free space. (1) Extract the patch tar file that matches your version of Solaris (only one will apply to a given system): Solaris 2.6: $ tar xvf 1.2.1_03_pre_patches_sparc_5.6.tar Solaris 7: $ tar xvf 1.2.1_03_pre_patches_sparc_5.7.tar This will create a number of patch archives with names like .tar.Z. (2) Uncompress and extract each of the patch archives that you wish to install: $ uncompress .tar.Z $ tar xvf .tar A directory with a name like will be created for each patch. General instructions for patch installation are included in the Install.info file in the top-level directory of each patch. In addition, special installation instructions or post-installation requirements (such as a system reboot) appear in the README file included with each patch, along with a list of bug ids fixed and files changed by that patch. (3) Login to the system console as root. (4) Place the system in single-user mode (this step is not required, but is recommended for patch installation): # shutdown (5) Install the patches. Most patches can be installed using the commands below; however the Install.info and README files for each patch should be consulted. In the commands below, replace with the path to the directory where the patches were extracted. Solaris 2.6 and Solaris 7: # patchadd -M ... (6) Shutdown and reboot: # shutdown -i6 PJama JDK Installation - gzip file Installation is simplest if the JDK tar file is downloaded into an empty current working directory. (1) Extract the contents of the compressed tar file: $ gzip -dc downloaded_filename.tar.gz | tar -xf - This should produce the following files: README.sparc (this file) LICENSE.ps demo lib COPYRIGHT COPYRIGHT.pjama include src.jar bin jre opj-docs.tar.gz To save space in the download file only the incremental changes to the JDK documentation is included, as the file opj-docs.tar.gz. It is important that you install the standard JDK documentation BEFORE you install the opj-docs file, as the latter overwrites some of the standard files. Installing the standard JDK documentation will result in a "docs" directory. To install the updated PJama documentation: $ gzip -dc opj-docs.tar.gz | tar -xf - You can now delete the .gz files if you so wish. Using the PJama Java Development Kit 1.2: Before using the JDK, please verify that the patches required for your version of Solaris are installed. The required patches are listed above in the Requirements section. Before using PJama we suggest that you read the OPJ tutorial, which can be found in docs/guide/opj. Documentation on the PJama-specific tools can be found with the other JDK tools in the tooldocs directory. The easiest way to run JDK 1.2 is to update the PATH environment variable in your shell by placing the path to the java executables at the front, before /usr/bin. For example, if PJama is installed in /usr/pjama-1.6.5, (csh) setenv PATH "/usr/pjama-1.6.5/bin:$PATH" (sh or ksh) PATH="/usr/pjama-1.6.5/bin:$PATH" Alternatively, the executables may be run by specifying the full path name, e.g., /usr/pjama-1.6.5/bin/javac, /usr/pjama-1.6.5/bin/java, etc. No other environment variables (such as JDK_HOME, JAVA_HOME or CLASSPATH) are required to run the JDK. However, existing settings of these variables may result in improper operation and should be checked for possible conflicts. Sending Feedback to Sun Microsystems: Please send any comments, observations or problem reports to the feedback mail address forest-info@sunlabs.COM. A response is not guaranteed, but all submissions will be read. When reporting a bug, please include: - the PJama version (java -pjamaversion) - the JDK version (java -version) - the Solaris version and hardware type (uname -a) - all the information necessary to reproduce the problem Copyright 1999 Sun Microsystems, Inc. All rights reserved. Copyright 1999 Sun Microsystems, Inc. Tous droits réservés.