I'm trying to install Java SDK (jdk-7u7-linux-i586.rpm) on Linux CentosOS 5.8.
Im using this guide, and downloading everything from the Oracle website.
When executing rpm -Uvh /path/to/binary/jdk-7u7-linux-i586.rpm
the package is installing java:
[root@ip-***-***-**-189 java]# rpm -Uvh jdk-7u7-linux-i586.rpm
Preparing... ########################################### [100%]
1:jdk ########################################### [100%]
But after it finishes I get these errors:
Unpacking JAR files...
rt.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_07/jre/lib/rt.pack
jsse.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_07/jre/lib/jsse.pack
charsets.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_07/jre/lib/charsets.pack
tools.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_07/lib/tools.pack
localedata.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_07/jre/lib/ext/localedata.pack
plugin.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_07/jre/lib/plugin.pack
javaws.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_07/jre/lib/javaws.pack
deploy.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_07/jre/lib/deploy.pack
Though it seems like everything is installed right, as I do these checks:
[root@ip-***-***-**-189 java]# java -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) Server VM (build 23.3-b01, mixed mode)
[root@ip-***-***-**-189 java]# javac -version
javac 1.7.0_07
[root@ip-***-***-**-189 java]# javaws
Java(TM) Web Start 10.7.0.10-fcs
I would still like to know:
- What are these errors ?
- Are they critical for running
.jar
files (I need to use Selenium on the server) ? - How can I install without these errors ?