gpt4 book ai didi

java - linux安装jdk 1.7时报错

转载 作者:IT王子 更新时间:2023-10-29 00:31:41 27 4
gpt4 key购买 nike

<分区>

当我使用以下命令在 Oracle Linux 中安装 jdk 1.7 时

rpm -ivh jdk-7u9-linux-i586.rpm

但是我收到以下错误,如何解决这些错误并安装 jdk 1.7?

非常感谢任何帮助。

谢谢

rpm -ivh /tmp/mnt/jdk-7u9-linux-i586.rpm
Preparing... ########################################### [100%]
1:jdk ########################################### [100%]
Unpacking JAR files...
rt.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_09/jre/lib/rt.pack
jsse.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_09/jre/lib/jsse.pack
charsets.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_09/jre/lib/charsets.pack
tools.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_09/lib/tools.pack
localedata.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_09/jre/lib/ext/localedata.pack
plugin.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_09/jre/lib/plugin.pack
javaws.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_09/jre/lib/javaws.pack
deploy.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_09/jre/lib/deploy.pack

我的Linux版本是oracle linux 5.5

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com