Re: java

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

 



rpm -e jre-6u3-linux-amd64.rpm
rpm -iv jre-6u3-linux-amd64.rpm

I recommend you install it via rpm not .bin

and set the JAVA_HOME CLASSPATH PATH
then it should be OK.


2007/10/13, michael <cs@xxxxxxxxxxxxxxxxxxxxxxxxxxx>:
> 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:
>
>
> mkb@veri:~/src$ su
> Password:
> [root@veri src]# cd /usr;ls
> bin  games    kerberos  lib64    local  share  tmp
> etc  include  lib       libexec  sbin   src
> [root@veri usr]# cd local;ls
> bin  games    lib    libexec     matlab_7_4_DVD  share
> etc  include  lib64  matlab_7_4  sbin            src
> [root@veri local]# mkdir java
> [root@veri local]# cd java
> [root@veri java]# chmod a+x ~mkb/src/jre-6u3-linux-amd64-rpm.bin
> [root@veri 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
> [root@veri 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 (Zip-Bugs@xxxxxxxxxxxxx).
>   inflating: jre-6u3-linux-amd64.rpm
> Preparing...                ###########################################
> [100%]
>    1:jre                    ###########################################
> [100%]
> Unpacking JAR files...
>         rt.jar...
>         jsse.jar...
>         charsets.jar...
>         localedata.jar...
>
> Done.
> [root@veri 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):
>
> [root@veri 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
> [root@veri 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
> [root@veri java]# rpm -iv jre-6u3-linux-amd64.rpm
> Preparing packages for installation...
>         package jre-1.6.0_03-fcs is already installed
> [root@veri java]# ls
> jre-6u3-linux-amd64.rpm
> [root@veri java]#
>
> ie there is no jre* subdir...
>
> Any ideas what's going on?
>
> thanks, Michael
>
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>


-- 
Best regards,
                      马 志强
------------------------------------------------------------------------
Dept. of Computer Science, Fudan University
------------------------------------------------------------------------

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux