当我尝试jdk-7u25-linux-i586.rpm
在 CentOS 系统上安装时出现以下错误:
rpm -ivh --replacepkgs jdk-7u25-linux-i586.rpm
Preparing... ########################################### [100%]
1:jdk ########################################### [100%]
Unpacking JAR files...
rt.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_25/jre/lib/rt.pack
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/rt.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
jsse.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_25/jre/lib/jsse.pack
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/jsse.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
charsets.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_25/jre/lib/charsets.pack
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/charsets.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
tools.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_25/lib/tools.pack
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/lib/tools.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
localedata.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_25/jre/lib/ext/localedata.pack
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/ext/localedata.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
plugin.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_25/jre/lib/plugin.pack
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/plugin.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
javaws.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_25/jre/lib/javaws.pack
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/javaws.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
deploy.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_25/jre/lib/deploy.pack
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/deploy.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
我有点不知道如何解决这个问题,如能得到任何帮助我将非常感激!
感谢 Andrew Nel