This content has been marked as final. Show 6 replies
The tar package is just an archive with the Oracle Solaris Studio distribution. So you just need to unpack it to some directory.
To install RPM distribution, you need to have Oracle Java SE installed. If you have OpenJDK installed, the installation cannot be done.
If you are not sure what Java distribution you've got, please, type the following command:
If the output will be something like:
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.3) (6b18-1.8.3-0ubuntu1~8.04.2)
OpenJDK 64-Bit Server VM (build 16.0-b13, mixed mode)
you've got OpenJDK.
I have even installed the java sdk and jre installed which downloaded official from java website.
So what do you get when you type:
I do have openjdk installed.
I have remove the openjdk and installed the latest java but when i type the java -version.
It say the libjava.so cannot be found.
I install using the rpm bin package.
I installed into /usr/java and create a symbolic link for /usr/bin and copy the libjli.so into /usr/lib.
Edited by: peterwkc on Dec 17, 2010 8:08 PM
How we can install using the tar file?
My os is ubuntu and has sun jre installed.