Skip to main content

RPM relocation / side by side install

2 replies [Last post]
hlavac
Offline
Joined: 2003-09-16
Points: 0

I was trying to install both 32bit and 64bit versions of the JDK on a CentOS 4.3 64bit, but there seems to be a problem with the unpacking of the JARs:

[root@lin64 ~]# rpm -i jdk-6-rc-linux-amd64.rpm --relocate /usr/java/jdk1.6.0=/usr/java/jdk1.6.0_x64
Unpacking JAR files...
rt.jar...
Error: Could not open input file: /usr/java/jdk1.6.0/jre/lib/rt.pack
jsse.jar...
Error: Could not open input file: /usr/java/jdk1.6.0/jre/lib/jsse.pack
charsets.jar...
Error: Could not open input file: /usr/java/jdk1.6.0/jre/lib/charsets.pack
tools.jar...
Error: Could not open input file: /usr/java/jdk1.6.0/lib/tools.pack
localedata.jar...
Error: Could not open input file: /usr/java/jdk1.6.0/jre/lib/ext/localedata.pack
[root@lin64 ~]#

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
quner
Offline
Joined: 2008-05-05
Points: 0

Hi,hlavac
I have met the same problem as yours. Have you fixed it? What is the solution? I am very eager for the answer. Thanks a lot.

jvme
Offline
Joined: 2008-05-29
Points: 0

Hi,

I've an identical problem with installing jdk_1.6.0_06-1_i386 on a Debian Etch r3-i386 system:

debian:/home/jve/dl# dpkg -i jdk_1.6.0_06-1_i386.deb
(Reading database ... 84656 files and directories currently installed.)
Preparing to replace jdk 1.6.0_06-1 (using jdk_1.6.0_06-1_i386.deb) ...
Unpacking replacement jdk ...
Setting up jdk (1.6.0_06-1) ...
Unpacking JAR files...
rt.jar...
Error: Could not open input file: /usr/java/jdk1.6.0_06/jre/lib/rt.pack
jsse.jar...
Error: Could not open input file: /usr/java/jdk1.6.0_06/jre/lib/jsse.pack
charsets.jar...
Error: Could not open input file: /usr/java/jdk1.6.0_06/jre/lib/charsets.pack
tools.jar...
Error: Could not open input file: /usr/java/jdk1.6.0_06/lib/tools.pack
localedata.jar...
Error: Could not open input file: /usr/java/jdk1.6.0_06/jre/lib/ext/localedata.pack
plugin.jar...
Error: Could not open input file: /usr/java/jdk1.6.0_06/jre/lib/plugin.pack
javaws.jar...
Error: Could not open input file: /usr/java/jdk1.6.0_06/jre/lib/javaws.pack
deploy.jar...
Error: Could not open input file: /usr/java/jdk1.6.0_06/jre/lib/deploy.pack

Has somebody an idea how to solve this?