SCIENTIFIC-LINUX-USERS Archives

July 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Kenneth Hoste <[log in to unmask]>
Reply To:
Kenneth Hoste <[log in to unmask]>
Date:
Fri, 1 Jul 2011 17:52:00 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (35 lines)
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
[log in to unmask]

ATOM RSS1 RSS2