[CentOS] Javaruntime RPM Issue

Thu Feb 9 08:54:22 UTC 2006
Mark Sargent <powderkeg at snow.email.ne.jp>

Hi All,

downloaded and installed the latest jre,


[root at localhost java]# rpm -iv jre-1_5_0_06-linux-i586.rpm
Preparing packages for installation...
jre-1.5.0_06-fcs
[root at localhost java]# ls
javarpm  jre-1_5_0_06-linux-i586.rpm  jre-1_5_0_06-linux-i586-rpm.bin
[root at localhost java]#
[root at localhost java]# whereis jre-1.5.0_06-fcs
jre-1.5:
[root at localhost java]# which jre-1.5.0_06-fcs
/usr/bin/which: no jre-1.5.0_06-fcs in 
(/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)
[root at localhost java]# find / -name jre-1.5.0_06-fcs -print
find: /proc/3730/task: No such file or directory
find: /proc/5694/task: No such file or directory
[root at localhost java]#

But, it doesn't create the directory it's supposed to as per this,

   8. The JRE is installed in jre1.5.(version number) sub-directory
      under the current directory. In this case, the JRE is installed in
      the */usr/java/jre1.5.0* directory. Verify that the *jre1.5.0*
      sub-directory is listed under the current directory. Type:
      *ls*

I get no sub-directory,

> [root at localhost java]# ls
> jre-1_5_0_06-linux-i586.rpm  jre-1_5_0_06-linux-i586-rpm.bin


The RPM exists, though,

[root at localhost java]# rpm -qa | grep jre-1.5.0_06-fcs
jre-1.5.0_06-fcs


What am I not doing? I followed the install doc correctly. Cheers.

Mark Sargent.