title: Errors when installing jdk 1.7 in linux
body: <p>When I am installing jdk 1.7 in Oracle Linux by using the following</p>
  
  <p>rpm -ivh jdk-7u9-linux-i586.rpm</p>
  
  <p>However I am getting the following errors, how can I resolve these errors and install jdk 1.7? </p>
  
  <p>Any help is highly appreciable.</p>
  
  <p>Thanks</p>
  
  <pre><code>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
  </code></pre>
  
  <p>My Linux version is  <code>oracle linux 5.5</code></p>