ContentsSystem Requirements System RequirementsThe Java 2 SDK, Standard Edition, v. 1.4.0 (J2SDK 1.4.0) is intended for use on Solaris 2.6, Solaris 7, Solaris 8, and Solaris 9 Operating Environments.Prior to installing the Java 2 SDK, you should insure that you have installed the full set of required patches needed for support of this release. To obtain patches, see the SunSolve support website. You will find a patch cluster for each Solaris operating environment platform. Each patch cluster applies to all supported versions of the Java 2 Standard Edition (J2SE) on the given platform. See also Solaris Font Package Requirements for information about which font packages should be on your system.
Java 2 SDK Installation Instructions32-bit versions of the Java 2 SDK are available for both Intel and SPARC processors. In addition, a supplemental release for 64-bit support is available for SPARC processors.To install the 32-bit Java 2 SDK on either Intel or SPARC processors, follow the installation instructions below. If you want to install the 64-bit Java 2 SDK on your SPARC platform, you must follow a two-step procedure. First, install the 32-bit Java 2 SDK using the installation instructions below. Second, install the supplemental support for 64-bit operation by following the 64-bit Installation Instructions. J2SDK 1.4.0 is available in two installation formats.
Installation of Self-Extracting BinaryFollow these instructions if you want to use the self-extracting binary file to install the Java 2 SDK. If you want to install Solaris packages comprising the SDK, see Installation of Packages.1. Check the download file size Before you download a file, notice that its byte size is provided on the download page. Once the download has completed, check that you have downloaded the full, uncorrupted software file. 2. Make sure that execute permissions are set on the self-extracting binary: On SPARC processors: 3. Change directory to the location where you would like the files to be installed. 4. Run the self-extracting binary. Launch the self-extracting binary file. The binary code license will be displayed, and you will be prompted to agree to its terms. The Java 2 SDK files will be installed in a directory called j2sdk1.4.0_<version number>. Installation of PackagesFollow these instructions if you want to use the pkgadd utility to install the Solaris packages for the Java 2 SDK. If you want to use the self-extracting binary file instead, see Self-extracting Binary above. Please note that there is a bug in the uninstall scripts associated with some of the Java 2 SDK packages. See the Release Notes for more information. 1. Check the download file size Before you download a file, notice that its byte size is provided on the download page. Once the download has completed, check that you have downloaded the full, uncorrupted software file. 2. Extract the contents of the compressed tar file: On SPARC processors: 3. Become root by running su and entering the super-user password. 4. Run the pkgadd command to install the packages.
On either x86 or SPARC processors: 5. For Japanese users If you previously installed the man page packages from J2SDK 1.3.0 or 1.3.1, remove them.pkgrm SUNWjej3m SUNWjpj3m SUNWjuj3mThen run the pkgadd command to install the new Japanese man page package:pkgadd -d . SUNWj3jmp 6. Delete the tar files and extracted directories. 7. Exit the root shell.
Java Plug-in Product Installation InstructionsFor documentation on the Java Plug-in product, seehttp://java.sun.com/j2se/1.4/docs/guide/plugin/index.html Follow these steps to install the Java Plug-in product: 1. For Netscape 4.x browsers: Set the NPX_PLUGIN_PATH environment variable to the directory containing the javaplugin.so file. (This step is not necessary if you use only Netscape 6.x browsers.) On the SPARC operating environment, the default location of javaplugin140.so for the package installation is in this directory: /usr/j2se/jre/plugin/sparc/ns4/ 2. For Netscape 6 browsers: Use regxpcom tool provided by Netscape to register Java Plug-in 1.4.
If and only if you are using Netscape 6, you will need to use 3. For Netscape 4.x browsers, restart your browser twice. For Netscape 6.x browsers, start up your browser. In Netscape do Help -> About Plug-ins to confirm that the Java Plug-in is loaded. Java Web Start Product Installation InstructionsJ2SDK 1.4.0 includes the Java Web Start product. Inside the J2SDK's jre directory you will find a ZIP file named javaws-1_0_1_02-solsparc-int.zip on SPARC platforms and javaws-1_0_1_02-solx86-int.zip on Intel platforms. Move this file to a location where you want to install the Java Web Start product (preferably outside the Java 2 SDK installation). Unzip the file. One of the files extracted will be install.sh. Run this script to install the Java Web Start product.
Location of libjvm.so filesIf you use the Invocation API to launch an application directly rather than using the Java application launcher, be sure to use the correct paths to invoke the Java HotSpot Client Virtual Machine (VM) or Java HotSpot Server VM, as desired. The path within the Java 2 SDK to the Java HotSpot Client VM is:jre/lib/sparc/client/libjvm.so (on SPARC platforms)The path to the Java HotSpot Server VM is: jre/lib/sparc/server/libjvm.so (on SPARC)The Exact VM and Classic VM are no longer part of the Java 2 SDK, and existing code that uses the Invocation API to launch an application based on old paths to the Exact or Classic VMs will not work.
Selecting the Default Java PlatformThe /usr/java symbolic link is used to define the default Java environment on a Solaris system when more than one Java environment is installed. Currently, JDK 1.1 is installed in /usr/java1.1, J2SDK 1.2.2 is installed in /usr/java1.2, and J2SDK 1.3.0, J2SDK 1.3.1, and J2SDK 1.4.0 are installed by default in /usr/j2se (and will overwrite each other).Prior to the Solaris 8 release, the /usr/java symbolic link pointed to /usr/java1.1 if both JDK 1.1 and J2SDK 1.2.2 were installed, making JDK 1.1 the default Java platform. Starting with the Solaris 8 release, the /usr/java symbolic link points to /usr/java1.2 by default if both JDK 1.1 and J2SDK 1.2.2 are installed, making J2SDK 1.2.2 the default Java platform. Because there are symbolic links in /usr/bin (also known as /bin) that use /usr/java (for example, /usr/bin/java refers to /usr/java/bin/java), this /usr/java link can change the default Java installation seen by most users. Many Java applications run on any of J2SDK 1.4.0, J2SDK 1.3.1, J2SDK 1.2.2, or JDK 1.1, but users and applications might want to be selective about which Java installation they use. If you want to use JDK 1.1, /usr/java1.1/bin should be on your PATH before /usr/bin. If you want to use J2SDK 1.4.0, /usr/j2se/bin should be on your PATH before /usr/bin. It is possible for root users to make J2SDK 1.4.0 the default Java platform by modifying the /usr/java symbolic link to point to /usr/j2se. However, changing the symbolic link in this manner may cause problems for some Java applications that are expecting to use earlier versions of the Java platform. See the online compatibility documentation for information about incompatibilities between J2SDK 1.4.0 and earlier releases. http://java.sun.com/j2se/1.4/compatibility.html | |||||||||||||||||
|
| ||||||||||||