[CentOS] Java

Dag Wieers dag at wieers.com
Fri Jul 15 16:17:12 UTC 2005


On Fri, 15 Jul 2005, Phil Schaffner wrote:

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

My x86_64 repository used to be a merge of i386 and x86_64. Sadly Yum 
cannot handle this. (ie. it installs both archs) See Yum bugzilla for the 
report.

After a bunch of mails from confused Yum users I decided to keep them 
seperated.

Kind regards,
--   dag wieers,  dag at wieers.com,  http://dag.wieers.com/   --
[all I want is a warm bed and a kind word and unlimited power]



More information about the CentOS mailing list