Java

Java in Action Downloads Help Center

Installing Java

   

Was my version of Java installed with RPM?


This article applies to:
  • Platform(s):
    Sun Java Desktop System, Red Hat Linux, SUSE Linux
  • Browser(s):
    Netscape 6.2x, Netscape 7, Mozilla 1.4+


If a version of Java Runtime Enviornment(JRE) is installed on the system, but is not listed by the RPM query, then it is not an RPM installation. The RPM database can be queried to determine what packages have been installed.

This command will try to locate any JRE on the system.
  1. Open new Terminal Window
  2. Type following command: rpm -qf /usr/java/jre1.5.0
    (This command is used to find the installation of JRE 1.5.0. Change the version number if you want to find other versions)


This command will try to locate any Java Development KIT (JDK) and JRE on the system.
  1. Open new Terminal Window
  2. Type: rpm -q jdk jre


This command will give the directory name of any JRE installation on the system.
  1. Open new Terminal Window
  2. Type: rpm -q --list jre | grep "bin/java"



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:
Installation Instructions
Configuration
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
Privacy | Terms of Use | Trademarks | License | Disclaimer | Contact

Sun Microsystems