I have never had any luck with the rpm.
I have uses the tarball  for a while now.

  1. Download the tarball.
  2. move / copy the tarball to where you wish java to reside
  3. untar/gzip the tarball
  4. apply alternatives
    1. alternatives --install /usr/bin/java java /usr/java/jre1.7.0_13/bin/java 20000
    2. alternatives --install  /usr/bin/javaws javaws /usr/java/jre1.7.0_13/bin/javaws 20000
    3. alternatives --install /usr/lib64/mozilla/plugins/libjavaplugin.so libjavaplugin.so.x86_64 /usr/java/jre1.7.0_13/lib/amd64/libnpjp2.so 20000
    4. /usr/sbin/alternatives --config java
    5. /usr/sbin/alternatives --config javaws
    6. /usr/sbin/alternatives --config libjavaplugin.so.x86_64



trying to follow the installation directions at:

http://www.if-not-true-then-false.com/2010/install-sun-oracle-java-jdk-jre-6-on-fedora-centos-red-hat-rhel/

and getting this, which isn't productive. Anyone have a better cheat sheet?

Dave


]# rpm -Uvh jdk-7u17-linux-x64.rpm
Preparing...                          ################################# [100%]
Updating / installing...
    1:jdk-2000:1.7.0_17-fcs            ################################# [100%]
Unpacking JAR files...
        rt.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_17/jre/lib/rt.pack
        jsse.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_17/jre/lib/jsse.pack
        charsets.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_17/jre/lib/charsets.pack
        tools.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_17/lib/tools.pack
        localedata.jar...
Error: Could not open input file:  
/usr/java/jdk1.7.0_17/jre/lib/ext/localedata.pack


--
The problem with being cynical is you can't keep up!

-- anon. philosopher



--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org