Java

Java in Action Downloads Help Center

Installing Java

   

What installation options are available with the self-extracting and RPM installers?


This article applies to:
  • Platform(s):
    Sun Java Desktop System, Red Hat Linux, SUSE Linux


There are two options available for installing Java Runtime Environment (JRE) on Linux:

Upgrade Option:

This option is only available with RPM installer. This is most recommended method for the JRE installation. Using the upgrade option will prevent more than one JRE installation of the same package from being installed on the system at the same time. This is generally preferred behavior. Only users that work in environments that require multiple JRE installations at the same time should have multiple installations.

For example:
      rpm -Uvh <package-file>
      For example: to upgrade JRE 1.5.0, type: rpm -Uvh jre1.5.0

The vh options are used to provide the user with feedback during the installation process.


Install Option:

With self extracting installer, the only available option is to install. The upgrade option is not available. This installer should be used only
  • When installing the JRE for the first time
  • When multiple versions of JRE are desired (not normal for non-business environments)
  • If the user plans to remove the old version after installing the new version.
      rpm -iv <package-file>
      For example: to install JRE 1.5.0, type: rpm -iv jre1.5.0

Note: This installer is intended only for users that are very uncomfortable with the Linux command line interface.


NEED MORE HELP?
If you require further assistance, please make sure you check through our Help and FAQ sections thoroughly. We probably have a page that answers your question.

You may find information on the following topics in the Help section:
Installing Java
Configuring Java
Error Messages
Applet Application




Help Resources
> Installing Java
> Configuring Java
> Error Messages
> Applet Application
> Legal

 

FAQ
> General Questions
> Java for Mobile Devices

 

Select Language | Java Wear | Newsletter | About Java Technology | Partner with Us | Developers | java.com Changes
Privacy | Terms of Use | Trademarks | License | Disclaimer | Contact

Sun Microsystems