Note that there are some explanatory texts on larger screens.

plurals
  1. POI had Open JDK 1.7 on CentOS; I installed Oracle's Java rpm; Oracle Java doesn't seem to exist
    primarykey
    data
    text
    <p>I started off with CentOS and OpenJDK 1.7</p> <pre><code># java -version java version "1.7.0_25" OpenJDK Runtime Environment (rhel-2.3.10.4.el6_4-x86_64) OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode) </code></pre> <p>In order to run a specific application, I want to use Oracle's Java 1.6, provided from an RPM.</p> <p>I copied the Oracle binary to a specific new directory:</p> <pre><code># pwd /oracleJava/jdk-6u45-linux-x64-rpm </code></pre> <p>I extracted the binary and it gave me the following files:</p> <pre><code># ls jdk-6u45-linux-amd64.rpm sun-javadb-core-10.6.2-1.1.i386.rpm sun-javadb-javadoc-10.6.2-1.1.i386.rpm sun-javadb-client-10.6.2-1.1.i386.rpm sun-javadb-demo-10.6.2-1.1.i386.rpm sun-javadb-common-10.6.2-1.1.i386.rpm sun-javadb-docs-10.6.2-1.1.i386.rpm </code></pre> <p>I installed the RPM and the rpm utility believes that it installed properly: rpm -q jdk jdk-1.6.0_45-fcs.x86_64</p> <pre><code># rpm -Uvh ./*.rpm Preparing... ########################################### [100%] package jdk-2000:1.6.0_45-fcs.x86_64 is already installed # rpm -Uvh sun-javadb-*.rpm [I omit the feedback because it generates a formatting error] # </code></pre> <p>However, the Java version just shows 1.7 # java -version java version "1.7.0_25" OpenJDK Runtime Environment (rhel-2.3.10.4.el6_4-x86_64) OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)</p> <p>In other words, I was expecting the Oracle files to give me some new /java directory somewhere, with a new java executable that would return a different answer for "java -version"</p> <p>I need that new directory so that I can set JAVA_HOME and use the 1.6 version of Java.</p> <p>Helpful suggestions would be greatly appreciated. Thanks in advance.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload