Re: jre installation problem on RHAS4 upd 3 64bits (ia64)
ronald.rood@gmail.com wrote:
On 12 feb, 12:06, Nigel Wade <n...@ion.le.ac.uk> wrote:
Ronald Rood wrote:
No matter which one I try, both end up with the same problem, when I try
java
-version I get 'lang/java/Object' missing.
Are you sure you get this error with the self-extracting file?
Yes.
Thanks for the reply Nigel,
maybe what I did was/is wrong, I don't know. The self-extracting file
first unpacked the rpm file and then tried to install the rpm. I have
no idea which files I should have to be complete. I noticed I do have
rt.pack and no rt.jar. This could be solved by unpack rt.pack rt.jar
and after that java -version works as supposed to.
So my conclusion is that my action could possibly be done better but
was not that bad after all.
Did you also try with the jre ? you downloaded the jdk.
Actually I downloaded the JRE not the SDK. I'd done that first from java.sun.com
before I noticed you'd downloaded from sun.com.
The self-extracting file should not contain an RPM. It's an executable shell
script wrapping a tar file. It runs and unpacks the tar file in the current
directory.
I also had to unpack:
unpack jsse.pack jsse.jar
unpack charsets.pack charsets.jar
unpack deploy.pack deploy.jar
unpack javaws.pack javaws.jar
unpack plugin.pack plugin.jar
I compared the jar files with my windows installation and it looks
like it's complete now. What should I have done instead of what I
did ?
Download the JRE jre-1_5_0_11-linux-amd64.bin which is labeled "Linux x64". I've
just noticed in the subject that you mention IA64, but I don't see an IA64 JRE.
Make it executable:
$ chmod +x jre-1_5_0_11-linux-amd64.bin
execute it (to unpack):
$ ./jre-1_5_0_11-linux-amd64.bin
run java:
$ jre1.5.0_11/bin/java -version
java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_11-b03, mixed mode)
$
--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555