Hi everyone, I'm a newbie to centos and having trouble upgrading java's jdk1.4 to jdk1.5. I assume I have to get the jdk from jpackage, but I'm having trouble locating it, let alone finding any instructions on how to upgrade. Much appreciated if anyone can help. Thanks!
Hello Lee, Why not just download the rpm directly from Sun (java.sun.com). Not quite as easy as yum install blah, but almost :) jer Friday, July 15, 2005, 1:00:00 AM, you wrote:> Hi everyone,> I'm a newbie to centos and having trouble upgrading java's jdk1.4 to jdk1.5. > I assume I have to get the jdk from jpackage, but I'm having trouble > locating it, let alone finding any instructions on how to upgrade. Much > appreciated if anyone can help. Thanks!> _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos-- USE THE BEST . . . Linux for servers . . . Macintosh for graphics . . . Palm for mobility . . . Windows for solitaire!
On 7/15/05, Lee w <buckywombat at hotmail.com> wrote:> Hi everyone, > > I'm a newbie to centos and having trouble upgrading java's jdk1.4 to jdk1.5. > I assume I have to get the jdk from jpackage, but I'm having trouble > locating it, let alone finding any instructions on how to upgrade. Much > appreciated if anyone can help. Thanks! >To my knowledge they do not supply the sun java jdk, but supply a nosrc.rpm for it. You have to download the jdk from java.sun.com and build the rpm using the specfile included in the nosrc.rpm. See the http://jpackage.org/rpm.php?id=2663 page for more info. -- Jim Perrin System Administrator - UIT Ft. Gordon & US Army Signal Center
On Fri, 2005-07-15 at 17:00 +0900, Lee w wrote:> Hi everyone, > > I'm a newbie to centos and having trouble upgrading java's jdk1.4 to jdk1.5. > I assume I have to get the jdk from jpackage, but I'm having trouble > locating it, let alone finding any instructions on how to upgrade. Much > appreciated if anyone can help. Thanks!Can find them in Dag Wieers' repo... j2re-1.4.2-11.2.el4.rf.i586.rpm mozilla-j2re-1.4.2-11.2.el4.rf.i586.rpm Here are the config files: [prs at wx1 ~]$ cat /etc/yum.repos.d/dag.repo [dag] name=Dag RPM Repository for Red Hat Enterprise Linux baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag/ enabled=0 gpgcheck=1 [dag_i386] name=Dag RPM Repository for Red Hat Enterprise Linux baseurl=http://apt.sw.be/redhat/el$releasever/en/i386/dag/ enabled=0 gpgcheck=1 Change "enabled=0" to "enabled=1" if you don't want to have to use "--enablerepo=dag" on yum commands, and be sure to import the GPG key: rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt Or for smart... [prs at wx1 ~]$ cat /etc/smart/channels/dag.channel ### URL: http://dag.wieers.com/apt/ [dag] name = RPMforge.net: Dag RPM Repository for (x86_64) baseurl = http://apt.sw.be/redhat/el4/en/x86_64/dag type = rpm-md priority = 10 [prs at wx1 ~]$ cat /etc/smart/channels/dag_i386.channel ### URL: http://dag.wieers.com/apt/ [dag_i386] name = RPMforge.net: Dag RPM Repository for (i386) baseurl = http://apt.sw.be/redhat/el4/en/i386/dag type = rpm-md priority = 10 The weirdness with the [dag_i386] stuff is to be able to find i386 packages on my x86_64 arch. On a 32-bit machine the 1st entries are sufficient. Phil