ContentsSystem Requirements |
|||||||||||
|
|
|||||||||||
System RequirementsJava 2 SDK, Standard Edition, 1.4.2 is supported on i586 Intel and 100% compatible platforms running Linux. For a list of supported Linux operating systems and desktop managers, see System Configurations. You should have about 75 megabytes of free disk space before attempting to install the Java 2 SDK software. A minimum of 32 megabytes of RAM is required. Recommended 48 megabytes of RAM. For issues, see the Troubleshooting section below and the Linux Notes section of the Release Notes. Also available is Known Problems on Non-Supported Platforms. |
|||||||||||
|
|
|||||||||||
Installation InstructionsInstalling the SDK automatically installs the Java Plug-in and Java Web Start. Note that the Java Plug-in needs to be registered with the browser. After installing the SDK, refer to: Install formats - Java 2 SDK 1.4.2 is available in two installation formats.
Choose the install format that is most suitable to your needs. |
|||||||||||
|
|
|||||||||||
|
Note: For any text on this page containing the following notation, you must substitute the appropriate Java 2 SDK update version number for the notation.
For example, if you are downloading update 1.4.2_01, the following command:
would become:
|
|||||||||||
|
|
|||||||||||
|
|
|||||||||||
|
|
|||||||||||
Installation of Self-Extracting BinaryUse these instructions if you want to use the self-extracting binary file to install the Java 2 SDK. If you want to install RPM packages instead, see Installation of RPM File. 1. Download and check the download file size to ensure that you have downloaded the full, uncorrupted software bundle. You can download to any directory you choose; it does not have to be the directory where you want to install the Java 2 SDK. Before you download the file, notice its byte size provided on the download page on the web site. Once the download has completed, compare that file size to the size of the downloaded file to make sure they are equal. 2. Make sure that execute permissions are set on the self-extracting binary. Run this command: 3. Change directory to the location where you would like the files to be installed. The next step installs the Java 2 SDK into the current directory. 4. Run the self-extracting binary. Execute the downloaded file, prepended by the path to it. For example, if the file is in the current directory, prepend it with "./" (necessary if "." is not in the PATH environment variable): ./j2sdk-1_4_2_<version>-linux-i586.bin The binary code license is displayed, and you are prompted to agree to its terms. The Java 2 SDK files are installed in a directory called j2sdk1.4.2_<version> in the current directory. Follow this link to see its directory structure. The Java 2 SDK documentation is a separate download. |
|||||||||||
|
|
|||||||||||
|
Note about Root Access:
Unbundling the software automatically creates a directory called
Note about Overwriting Files: If you unpack the software in a directory that contains a subdirectory named j2sdk1.4.2_<version>, the new software overwrites files of the same name in that j2sdk1.4.2_<version> directory. Please be careful to rename the old directory if it contains files you would like to keep. Note about System Preferences: By default, the installation script configures the system such that the backing store for system preferences is created inside the Java 2 SDK's installation directory. If the SDK is installed on a network-mounted drive, it and the system preferences can be exported for sharing with Java runtime environments on other machines. As an alternative, root users can use the -localinstall option when running the installation script, as in this example: j2sdk-1_4_2_<version>-linux-i586.bin -localinstall This option causes the system preferences to be stored in the /etc directory from which they can be shared only by VMs running on the local machine. You must be root user for the -localinstall option to work. See the Preferences API documentation for more information about preferences in the Java platform. |
|||||||||||
|
|
|||||||||||
|
|
|||||||||||
|
|
|||||||||||
Installation of RPM FileUse these instructions if you want to install Java 2 SDK in the form of RPM packages. If you want to use the self-extracting binary file instead, see Installation of Self-Extracting Binary. 1. Download and check the file size. You can download to any directory you choose. Before you download the file, notice its byte size provided on the download page on the web site. Once the download has completed, compare that file size to the size of the downloaded file to make sure they are equal. 2. Extract the contents of the downloaded file. Change directory to where the downloaded file is located and run these commands to first set the executable permissions and then run the binary to extract the RPM file: chmod a+x j2sdk-1_4_2_<version>-linux-i586-rpm.bin ./j2sdk-1_4_2_<version>-linux-i586-rpm.bin Note that the initial "./" is required if you do not have "." in your PATH environment variable. The script displays a binary license agreement, which you are asked to agree to before installation can proceed. Once you have agreed to the license, the install script creates the file j2sdk-1_4_2_<version>-linux-i586.rpm in the current directory. 3. Become root by running the su command and entering the super-user password. 4. Run the rpm command to install the packages that comprise the Java 2 SDK: rpm -iv j2sdk-1_4_2_<version>-linux-i586.rpm 5. Delete the bin and rpm file if you want to save disk space. Note: By default, the .rpm is installed in /usr/java. Use which javac to ensure the classpath was setup correctly. |
|||||||||||
|
|
|||||||||||
Java Plug-in Browser Registration InstructionsFor documentation on the Java Plug-in product, see: http://java.sun.com/j2se/1.4.2/docs/guide/plugin/index.html There are two ways to register the Java Plug-in product with
the Netscape browser. Click on the following buttons to see the
instructions for either manual or automatic (via the |
|||||||||||
|
|
|||||||||||
Java Web Start Installation NotesThis SDK release includes Java Web Start; it is installed automatically with the SDK. But note the following:
|
|||||||||||
|
|
|||||||||||
Troubleshooting
|
|||||||||||
|
|
|||||||||||
Known Problems on Non-Supported PlatformsThe following are known problems on the non-supported versions of Linux.
| |||||||||||
Oracle is reviewing the Sun product roadmap and will provide guidance to customers in accordance with Oracle's standard product communication policies. Any resulting features and timing of release of such features as determined by Oracle's review of roadmaps, are at the sole discretion of Oracle. All product roadmap information, whether communicated by Sun Microsystems or by Oracle, does not represent a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. It is intended for information purposes only, and may not be incorporated into any contract.
|
| ||||||||||||