Installation of Openjdk in RHEL 5.2

Ray Van Dolson rayvd at bludgeon.org
Tue Aug 18 16:15:46 UTC 2009


On Tue, Aug 18, 2009 at 04:30:55PM +0530, Rajesh Malavade wrote:
> Hi
> 
> We need to install Eucalyptus for cloud computing on RHEL 5.2.  It
> has OPENJDK 6 as a prerequisite.We are refering the following site
> for installation
> 
> http://openjdk.java.net/install/#fedora
> 
> We are able to create the EPEL repositry and also it connects to the 
> server.but is not showing the OPENJDK 6.

I believe OpenJDK was added to RHEL 5.3 and thus, per policy, had to be
removed from EPEL.

Can you use RHEL 5.3 for your project?

> 
> While using the command line we get the following message....
> 
> [root at xenred rajesh]# yum install 
> java-1.6.0-openjdk-1.6.0.0-0.10.b09.fc9.i386.rpm
> Loading "rhnplugin" plugin
> Loading "security" plugin
> Repository epel is listed more than once in the configuration
> This system is not registered with RHN.
> RHN support will be disabled.
> epel                      100% |=========================| 3.4 kB    00:00
> epel-debuginfo            100% |=========================| 2.6 kB    00:00
> epel-source               100% |=========================| 2.8 kB    00:00
> Setting up Install Process
> Parsing package install arguments
> Examining java-1.6.0-openjdk-1.6.0.0-0.10.b09.fc9.i386.rpm: 
> java-1.6.0-openjdk - 1:1.6.0.0-0.10.b09.fc9.i386
> Marking java-1.6.0-openjdk-1.6.0.0-0.10.b09.fc9.i386.rpm to be installed
> Resolving Dependencies
> --> Running transaction check
> ---> Package java-1.6.0-openjdk.i386 1:1.6.0.0-0.10.b09.fc9 set to be 
> updated
> --> Processing Dependency: libc.so.6(GLIBC_2.7) for package: 
> java-1.6.0-openjdk
> --> Finished Dependency Resolution
> Error: Missing Dependency: libc.so.6(GLIBC_2.7) is needed by package 
> java-1.6.0-openjdk

Here it looks like you're using a version of OpenJDK compiled for
Fedora 9.

> 
> Kindly guide us for installing openjdk 6 in RHEL 5.2 using EPEL
> 

I would recommend updating to RHEL 5.3 and using the officially
packaged OpenJDK if possible.

Alternately, if you're tied to RHEL 5.2 you might download the SRPMs
and rebuild for your platform.

Ray




More information about the epel-devel-list mailing list