Install JRE/JDK 1.5 Sun Solaris 9 SPARC 64
METHOD A:
Download: jdk-1_5_0_08-solaris-sparcv9.sh
jre-1_5_0_08-solaris-sparcv9.sh
jdk-1_5_0_09-solaris-sparcv9.sh
jre-1_5_0_09-solaris-sparcv9.sh
Do you agree to the above license terms? [jes or no]
yes Unpacking...
Checksumming...
1
The download file appears to be corrupted. (for all files!!!)
--
METHOD B:
jdk-1_5_0_08-solaris-sparcv9.tar.Zunpack -->
SUNWj5dmx
SUNWj5dvx
SUNWj5rtx
new directory:
/usr/jdk/instances/jdk1.5.0/bin ...
/usr/jdk/instances/jdk1.5.0/demo ...
/usr/jdk/instances/jdk1.5.0/jre ...
create link:
in /usrln -s ./jdk java (old: ln -s ./j2se java for version: 1.4.1)
in /usr/binln -s ../java/instances/jdk1.5.0/bin/sparcv9/java java
in /usr/binln -s ../java/instances/jdk1.5.0/bin/sparcv9/javac javac
javah
javap
...
start:
#java -version
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
I have installed Oracle 10g. No problems! (Installation program = java program)
Any clues? Help is much appreciated!
Cheers,
Pitti
[1241 byte] By [
pitti21a] at [2007-10-3 10:25:23]

> METHOD B:
>
> jdk-1_5_0_08-solaris-sparcv9.tar.Zunpack -->
>
>SUNWj5dmx
> SUNWj5dvx
>SUNWj5rtx
> directory:
>
> /usr/jdk/instances/jdk1.5.0/bin ...
> /usr/jdk/instances/jdk1.5.0/demo ...
> /usr/jdk/instances/jdk1.5.0/jre ...
>
> create link:
>
...
> #java -version
> Error occurred during initialization of VM
> java/lang/NoClassDefFoundError: java/lang/Object
This indicates an incomplete installation. First install the
base 32-bit (sparc) JDK and then install the 64-bit (sparcv9)
JDK as an overlay. (In this case you just have the 64-bit
overlay but are missing the base, 32-bit installation;
installing the latter should fix the problem).
Thanks!!!
http://java.sun.com/j2se/1.5.0/install-solaris-64.html
Installing the 64-bit JDK for the Solaris operating system on SPARC, AMD64, and EM64T platforms is a two-step process.
These steps can be performed in either order, but you must install the following bundles together:
Install solaris-i586 (32-bit) with solaris-amd64 (64-bit)
Install solaris-sparc (32-bit) with solaris-sparcv9 (64-bit)
1. Install the 32-bit JDK using the 32-bit JDK Installation Notes .
2. Install the supplemental files for 64-bit support using the following 64-bit installation instructions.
Pitti
Hi Pitti,
I encountered the "download file appears to be corrupted" problem.
If you are using an FTP client, you need to force the transfer to binary, as it may associate *.sh as text file and transfer the file as an ascii file.
That will cause problems and I noticed that the file size shrinks / is smaller in the destination (server).
After that, following the installation instructions works file.
./java -version in the bin folder gives me the jdk version.
Hope this helps.
Honpeng, Lum