Friday, 8 June 2012

JDK RPM Installation for Linux (32-bit) and Requirements ?

System Requirements

Hardware
Platform
Operating System Version Desktop Managers Browsers JRE™ JDK™


Linux 32-bit
Linux
x86
Oracle Linux 6 Gnome 2.28.0-11.el6 - Metacity 2.28.0-20.el6 Firefox 3.x, 4.x, 5.x, 6, 7, 8, 9 (see footnote) 32-bit Install 32-bit Install
Oracle Linux 5.6 Gnome 2.16.0-6.el5 - Metacity 2.16.0-12.el5 Firefox 3.x, 4.x, 5.x, 6, 7, 8, 9 (see footnote)
Oracle Enterprise Linux 5.4, 5.5 Gnome 2.16.0-6.el5 - Metacity 2.16.0-12.el5 Firefox 3.x, 4.x, 5.x, 6, 7, 8, 9 (see footnote)
Oracle Enterprise Linux 4.8 Gnome 2.7.3 - Metacity 2.6.2 Firefox 3.x, 4.x, 5.x, 6, 7, 8, 9 (see footnote)
Ubuntu 8.04 LTS Desktop Edition Gnome 2.22.3 Firefox 3.0.9
Red Hat Enterprise Linux 6 Gnome 2.28.0-11.el6 - Metacity 2.28.0-20.el6 Firefox 3.x, 4.x, 5.x, 6, 7, 8, 9 (see footnote)
Red Hat Enterprise Linux 5.6 Gnome 2.16.0-6.el5 - Metacity 2.16.0-12.el5 Firefox 3.x, 4.x, 5.x, 6, 7, 8, 9 (see footnote)
Red Hat Enterprise Linux 5.0, 5.1, 5.2 Gnome 2.16.0-6.el5 - Metacity 2.16.0-12.el5 Firefox 3.x, 4.x, 5.x, 6, 7, 8, 9 (see footnote)
Red Hat Enterprise Linux 5.3, 5.4, 5.5 Gnome 2.16.0-6.el5 - Metacity 2.16.0-12.el5 Firefox 3.x, 4.x, 5.x, 6, 7, 8, 9 (see footnote)
Red Hat Enterprise Linux AS/ES 4.0 (4.1 - 4.8) Gnome 2.8.0-metacity 2.6.2 Firefox 2.0.x
Mozilla 1.4
Mozilla 1.7
Red Hat Enterprise Linux AS/ES 3.0 Gnome 2.2.2-metacity 2.6.2 Mozilla 1.4
Red Hat Enterprise Linux WS/ES/AS 2.1 Gnome 1.4-sawfish 1.0
SUSE 10 Gnome 2.12.0.1-2 - Metacity 2.12.0-3 Firefox 2.0.x
SUSE 9.2 Gnome 2.6.1-metacity 2.6.2 Mozilla 1.4
SUSE 8.2, 9, 9.1 Gnome 2.2-metacity 2.6.2
SUSE 8 Gnome 2.0-metacity 2.6.2
SLES 11 GNOME 2.24.1-2.28 - Metacity is 2.24.0-3 Firefox 3.0.6 or 3.0.8
SLES 10 Gnome 2.12.0.1-26.6 - Metacity 2.12.3-0.15 Firefox 2.0.x
SLES 9 Gnome 2.4.0-metacity 2.6.2 Mozilla 1.4
SLES 8 Gnome 2.0.5-metacity 2.6.2
Turbo Linux 10
(ONLY Chinese and Japanese
Locales. No English.)
Gnome-sawfish 1.0
Linux 64-bit
5Linux
x64
Oracle Linux 6 Gnome 2.28.0-11.el6 - Metacity 2.28.0-20.el6 64-bit OS, 32-bit Browsers:
Firefox 3.x, 4.x, 5.x, 6, 7, 8, 9 (see footnote)
64-bit Install,
(no Java Plug-In, Java Web Start support)
64-bit Install
Oracle Linux 5.6 Gnome 2.16.0-6.el5 - Metacity 2.16.0-12.el5 64-bit OS, 32-bit Browsers:
Firefox 3.x, 4.x, 5.x, 6, 7, 8, 9 (see footnote)
32/64-bit Install,
(no Java Plug-in,
Java Web Start
support)
32/64-bit Install
Oracle Enterprise Linux 5.4, 5.5 Gnome 2.16.0-6.el5 - Metacity 2.16.0-12.el5 64-bit OS, 32-bit Browsers:
Firefox 3.x, 4.x, 5.x, 6, 7, 8, 9 (see footnote)
Oracle Enterprise Linux 4.8 Gnome 2.7.3 - Metacity 2.6.2 64-bit OS, 32-bit Browsers:
Firefox 3.x, 4.x, 5.x, 6, 7, 8, 9 (see footnote)
Red Hat Enterprise Linux 6 Gnome 2.28.0-11.el6 - Metacity 2.28.0-20.el6 64-bit OS, 32-bit Browsers:
Firefox 3.x, 4.x, 5.x, 6, 7, 8, 9 (see footnote)
64-bit Install,
(no Java Plug-In, Java Web Start support)
64-bit Install
Red Hat Enterprise Linux 5.6 Gnome 2.16.0-6.el5 - Metacity 2.16.0-12.el5 64-bit OS, 32-bit Browsers:
Firefox 3.x, 4.x, 5.x, 6, 7, 8, 9 (see footnote)
32/64-bit Install,
(no Java Plug-in,
Java Web Start
support)
32/64-bit Install
Red Hat Enterprise Linux 5.0 (5.1, 5.2) Gnome 2.16.0-6.el5 - Metacity 2.16.0-12.el5 64-bit OS, 32-bit Browsers:
Firefox 3.x, 4.x, 5.x, 6, 7, 8, 9 (see footnote)
Red Hat Enterprise Linux 5.3, 5.4, 5.5 Gnome 2.16.0-6.el5 - Metacity 2.16.0-12.el5 64-bit OS, 32-bit Browsers:
Firefox 3.x, 4.x, 5.x, 6, 7, 8, 9 (see footnote)
Red Hat Enterprise Linux AS/ES 4.0 (4.1 - 4.8) Gnome 2.8.0-metacity 2.6.2 64-bit OS, 32-bit Browsers:
Firefox 2.0.x,
Mozilla 1.4
Mozilla 1.7
Red Hat Enterprise Linux AS/ES 3.0 Gnome 2.2.2-metacity 2.6.2 64-bit OS, 32-bit Browsers:
Mozilla 1.4
SUSE 9.2 Gnome 2.6.1-metacity 2.6.2
SUSE 8.2, 9, 9.1 Gnome 2.2-metacity 2.6.2
SLES 11 GNOME 2.24.1-2.28 - Metacity is 2.24.0-3 64-bit OS, 32-bit Browsers:
Firefox 3.0.6 or 3.0.8
SLES 10 Gnome 2.12.0.1-26.6 - Metacity 2.12.3-0.15 64-bit OS, 32-bit Browsers:
Firefox 2.0.x
SLES 9 Gnome 2.4.0-metacity 2.6.2 64-bit OS, 32-bit Browsers:
Mozilla 1.4
SLES 8 Gnome 2.0.5-metacity 2.6.2


Installation Instructions

This procedure installs the Java SE Runtime Environment for 32-bit Linux, using an RPM binary bundle. Some Linux distributions, such as Ubuntu, are not RPM-based. In that event, please see the self extracting installation page.
The name of the downloaded file has the following format:
jdk-6u     
<version>-linux-i586-rpm.bin
          
<version>
jdk-6u18-linux-i586-rpm.bin
 
To install, download this file and use the following instructions:
1. Download and check the file size.
You can download to any directory that you can write to.
2. Become root by running the su command and entering the root password.
3. Extract and install 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 and run the RPM file:
                 
% chmod a+x jdk-6u                  
<version>-linux-i586-rpm.bin
% ./jdk-6u
                  
<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 and runs the file jdk-6u <version>-linux-i586.rpm in the current directory.
NOTE: If you want to only extract the RPM file but not install it, you can run the .bin file with the -x argument. You do not need to be root to do this.
4. Delete the rpm file if you want to save disk space.
5. Exit the root shell.
6. If you want to use Java within the browser, setup the plugin using the instructions in Manual Plugin Installation for Linux.
The RPM package creates two links: /usr/java/latest and /usr/java/default.
  • The /usr/java/latest link will always point to the version of Java that is considered the latest version. Subsequent upgrades of the package will overwrite this value if it is not the latest version.

  • By default, /usr/java/default points to /usr/java/latest. However, if administrators change /usr/java/default to point to another version of Java, subsequent package upgrades will be provided by the administrators and cannot be overwritten.
When the JDK is installed, links to javac, jar, and javadoc are also created apart from the JRE links. These links point to the appropriate tool referenced by /usr/java/default. This allows the user to easily run the default version of these Java tools.
A new service script, named jexec, is added to /etc/init.d. This script allows users to directly execute any standalone JAR file that has an execution permission set.

This can be demonstrated using an example from the JDK:
        cd /usr/java/jdk1.6.0/demo/jfc/SwingSet2
        chmod +x SwingSet2.jar
        ./SwingSet2.jar     

2 comments: