Re: java install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



michael wrote:
On Fri, 2007-10-12 at 17:25 +0100, michael wrote:
I've had a quick lot but got confused -- is there a JRE and JDK/SDK that
comes with Fedora FC7?
Thanks, M

This is for Intel Core2 Duo, so I've downloaded AMD64 (same instruction
set) from java.com and then (as per
http://java.com/en/download/help/5000011300.xml#download) run the
binary:


[email protected]:~/src$ su
Password: [[email protected] src]# cd /usr;ls
bin  games    kerberos  lib64    local  share  tmp
etc  include  lib       libexec  sbin   src
[[email protected] usr]# cd local;ls
bin  games    lib    libexec     matlab_7_4_DVD  share
etc  include  lib64  matlab_7_4  sbin            src
[[email protected] local]# mkdir java
[[email protected] local]# cd java
[[email protected] java]# chmod a+x ~mkb/src/jre-6u3-linux-amd64-rpm.bin [[email protected] java]# ls -l ~mkb/src/jre-6u3-linux-amd64-rpm.bin
-rwxr-xr-x 1 mkb mkb 17643526 2007-10-12
17:45 /home/mkb/src/jre-6u3-linux-amd64-rpm.bin
[[email protected] java]# ~mkb/src/jre-6u3-linux-amd64-rpm.bin
Sun Microsystems, Inc. Binary Code License Agreement

for the JAVA SE RUNTIME ENVIRONMENT (JRE) VERSION 6

SUN MICROSYSTEMS, INC. ("SUN") IS WILLING TO LICENSE THE
SOFTWARE IDENTIFIED BELOW TO YOU ONLY UPON THE CONDITION
THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS BINARY
CODE LICENSE AGREEMENT AND SUPPLEMENTAL LICENSE TERMS
{snip}
Do you agree to the above license terms? [yes or no]
yes
Unpacking...
Checksumming...
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP ([email protected]).
inflating: jre-6u3-linux-amd64.rpm Preparing... ###########################################
[100%]
   1:jre                    ###########################################
[100%]
Unpacking JAR files...
        rt.jar...
        jsse.jar...
        charsets.jar...
        localedata.jar...
Done.
[[email protected] java]# ls -alt
total 17476
drwxr-xr-x  2 root root     4096 2007-10-12 17:48 .
drwxr-xr-x 15 root root     4096 2007-10-12 17:46 ..
-rw-r--r--  1 root root 17846983 2007-09-25 08:53
jre-6u3-linux-amd64.rpm


but both yum and rpm fail to do anything more (unlike the instructions):

[[email protected] java]# yum localinstall ./jre-6u3-linux-amd64.rpm Setting up Local Package Process
Examining ./jre-6u3-linux-amd64.rpm: jre - 1.6.0_03-fcs.x86_64
./jre-6u3-linux-amd64.rpm: does not update installed package.
Nothing to do
[[email protected] java]# ls -alt
total 17476
drwxr-xr-x  2 root root     4096 2007-10-12 17:48 .
drwxr-xr-x 15 root root     4096 2007-10-12 17:46 ..
-rw-r--r--  1 root root 17846983 2007-09-25 08:53
jre-6u3-linux-amd64.rpm
[[email protected] java]# rpm -iv jre-6u3-linux-amd64.rpm Preparing packages for installation...
        package jre-1.6.0_03-fcs is already installed
[[email protected] java]# ls
jre-6u3-linux-amd64.rpm
[[email protected] java]#
ie there is no jre* subdir...

Any ideas what's going on?
Maybe, after a rpm -qa j\*

DaveT.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux