[CentOS] Javaruntime RPM Issue

Johnny Hughes mailing-lists at hughesjr.com
Thu Feb 9 09:52:46 UTC 2006


On Thu, 2006-02-09 at 17:54 +0900, Mark Sargent wrote:
> 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.

do ...

rpm -ql jre-1.5.0_06-fcs

that will tell you everything that is installed and where from that RPM
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20060209/5dc79bb5/attachment.sig>


More information about the CentOS mailing list