Subject: | |
From: | |
Reply To: | |
Date: | Fri, 1 Jul 2011 10:13:28 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
To the best of my recollection, I did a su (I typically do not use sudo)
in a terminal screen, and then rpm -Uhv foo.rpm .
Yasha Karant
On 07/01/2011 09:16 AM, Kenneth Hoste wrote:
> On 07/01/2011 06:09 PM, Yasha Karant wrote:
>> I have installed the jre6u24 with no issue; it may be a 32 bit version
>> so that it works with 32 bit Firefox 5.
>
> Did you install it in a similar way, i.e. in a non-default path after
> extracting the RPM from the binary installer?
>
> K.
>
>>
>> Yasha Karant
>>
>> On 07/01/2011 08:52 AM, Kenneth Hoste wrote:
>>> 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]
|
|
|