Installing 32Bit Java in 64Bit system gives error

Solution Unverified - Updated -

Issue

  • Installing 32Bit Java in 64Bit system gives Transaction Check Error message.
root # yum install java-1.7.0-openjdk-devel.i686
Loaded plugins: product-id, rhnplugin, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package java-1.7.0-openjdk-devel.i686 1:1.7.0.75-2.5.4.0.el6_6 will be installed
--> Processing Dependency: libX11.so.6 for package: 1:java-1.7.0-openjdk-devel-1.7.0.75-2.5.4.0.el6_6.i686
--> Running transaction check
---> Package libX11.i686 0:1.6.0-2.2.el6 will be installed
--> Processing Dependency: libxcb.so.1 for package: libX11-1.6.0-2.2.el6.i686
--> Running transaction check
---> Package libxcb.i686 0:1.9.1-2.el6 will be installed
--> Processing Dependency: libXau.so.6 for package: libxcb-1.9.1-2.el6.i686
--> Running transaction check
---> Package libXau.i686 0:1.0.6-4.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================================================================================
 Package                                                      Arch                                     Version                                                      Repository                                                          Size
==========================================================================================================================================================
Installing:
 java-1.7.0-openjdk-devel                                     i686                                     1:1.7.0.75-2.5.4.0.el6_6                                     abslinux                                                           9.4 M
Installing for dependencies:
 libX11                                                       i686                                     1.6.0-2.2.el6                                                clone-prd-rhel-x86_64-server-6                                     591 k
 libXau                                                       i686                                     1.0.6-4.el6                                                  clone-prd-rhel-x86_64-server-6                                      24 k
 libxcb                                                       i686                                     1.9.1-2.el6                                                  clone-prd-rhel-x86_64-server-6                                     115 k

Transaction Summary
=============================================================================================================================================================================================================================================
Install       4 Package(s)

Total size: 10 M
Total download size: 9.4 M
Installed size: 36 M
Is this ok [y/N]: n
Exiting on user Command
kmucr889:/root # yum install java-1.7.0-openjdk-devel.i686^C
kmucr889:/root # rpm -qa | grep java
tzdata-java-2014i-1.el6.noarch
java-1.7.0-openjdk-devel-1.7.0.75-2.5.4.0.el6_6.x86_64
java-1.7.0-openjdk-1.7.0.75-2.5.4.0.el6_6.x86_64
kmucr889:/root # rpm -qa | grep java
tzdata-java-2014i-1.el6.noarch
java-1.7.0-openjdk-devel-1.7.0.75-2.5.4.0.el6_6.x86_64
java-1.7.0-openjdk-1.7.0.75-2.5.4.0.el6_6.x86_64
kmucr889:/root # yum install java-1.7.0-openjdk-devel.i686
Loaded plugins: product-id, rhnplugin, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package java-1.7.0-openjdk-devel.i686 1:1.7.0.75-2.5.4.0.el6_6 will be installed
--> Processing Dependency: libX11.so.6 for package: 1:java-1.7.0-openjdk-devel-1.7.0.75-2.5.4.0.el6_6.i686
--> Running transaction check
---> Package libX11.i686 0:1.6.0-2.2.el6 will be installed
--> Processing Dependency: libxcb.so.1 for package: libX11-1.6.0-2.2.el6.i686
--> Running transaction check
---> Package libxcb.i686 0:1.9.1-2.el6 will be installed
--> Processing Dependency: libXau.so.6 for package: libxcb-1.9.1-2.el6.i686
--> Running transaction check
---> Package libXau.i686 0:1.0.6-4.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================================================================
 Package                                                      Arch                                     Version                                                      Repository                                                          Size
=============================================================================================================================================================================================================================================
Installing:
 java-1.7.0-openjdk-devel                                     i686                                     1:1.7.0.75-2.5.4.0.el6_6                                     abslinux                                                           9.4 M
Installing for dependencies:
 libX11                                                       i686                                     1.6.0-2.2.el6                                                clone-prd-rhel-x86_64-server-6                                     591 k
 libXau                                                       i686                                     1.0.6-4.el6                                                  clone-prd-rhel-x86_64-server-6                                      24 k
 libxcb                                                       i686                                     1.9.1-2.el6                                                  clone-prd-rhel-x86_64-server-6                                     115 k

Transaction Summary
=============================================================================================================================================================================================================================================
Install       4 Package(s)

Total size: 10 M
Total download size: 9.4 M
Installed size: 36 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test


Transaction Check Error:
  file /usr/share/applications/java-1.7.0-openjdk-jconsole.desktop from install of java-1.7.0-openjdk-devel-1:1.7.0.75-2.5.4.0.el6_6.i686 conflicts with file from package java-1.7.0-openjdk-devel-1:1.7.0.75-2.5.4.0.el6_6.x86_64
  file /usr/share/applications/java-1.7.0-openjdk-policytool.desktop from install of java-1.7.0-openjdk-devel-1:1.7.0.75-2.5.4.0.el6_6.i686 conflicts with file from package java-1.7.0-openjdk-devel-1:1.7.0.75-2.5.4.0.el6_6.x86_64

Environment

  • Red Hat Enterprise Linux 6
  • Installation of 32Bit Java in 64Bit System

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content