Java

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



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@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@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@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



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux