[CentOS] Re: Java JDK on CentOS 4.4

Thu Nov 16 13:55:42 UTC 2006
Les Mikesell <lesmikesell at gmail.com>

On Thu, 2006-11-16 at 04:42, Tony Molloy wrote:
> > >     If the build is successful there will be a set of java RPMs in
> > >     ~/rpmbuild/RPMS/i586
> > >
> > >    java-1.5.0-sun-1.5.0.09-1jpp.i586.rpm
> > >    java-1.5.0-sun-alsa-1.5.0.09-1jpp.i586.rpm
> > >    java-1.5.0-sun-demo-1.5.0.09-1jpp.i586.rpm
> > >    java-1.5.0-sun-devel-1.5.0.09-1jpp.i586.rpm
> > >    java-1.5.0-sun-fonts-1.5.0.09-1jpp.i586.rpm
> > >    java-1.5.0-sun-jdbc-1.5.0.09-1jpp.i586.rpm
> > >    java-1.5.0-sun-plugin-1.5.0.09-1jpp.i586.rpm
> > >    java-1.5.0-sun-src-1.5.0.09-1jpp.i586.rpm
> >
> > OK ... the above now stands at least a chance of working ... though I
> > did not try it.
> 
> I tried it and it works.

After doing this and the equivalent for the jta package you
should be able to add the jpackage repo and use yum to
install jpackage-utils and then things like tomcat4 or 5.
I've been doing this to get opennms working on a couple of
machines and have always had to explicitly install a couple
of other packages to make it work: xml-commons-apis and
something else I've forgotten.  Does anyone know the right
order to add things to make tomcat work the first time?

-- 
  Les Mikesell
   lesmikesell at gmail.com