Hello, I was looking into installing a Java JDK 1.6.0 on our Scientific Linux 6 systems, and found it to fail. We need to install Java under a non-default path, e.g. /path/to/java, and therefore extract the RPM found on the Oracle website from the RPM binary installer using:
./jdk-6u26-linux-x64-rpm.bin -x We then install the RPM obtained this way as follows: rpm --initdb --dbpath /rpm --root /path/to/java rpm -i --dbpath /rpm --root /path/to/java --relocate /=/path/to/java --nopre --nopost --nodeps jdk-6u26-linux-amd64.rpm The last command is failing with: error: Unable to change root directory: Operation not permitted This way of installing the Java JDK has worked fine in our previous SL5 setup. I should add that RHEL6 or SL6 is not listed as supported on the Oracle website, see http://www.oracle.com/technetwork/java/javase/system-configurations-135212.html . Has anyone been able to install an Oracle Java JDK 6 RPM on SL6 (or RHEL6)? greetings, Kenneth [email protected]
