By start SolarisStudio12.3 requires jdk6 or newer...

Hi guys.
By start SolarisStudio12.3 requires jdk6 or newer...
A question.
Which archiv I need download and install?

P.S. Solaris 10 (SPARC)

Solaris SPARC 73.33 MB   http://www.oracle.com/ocom/groups/public/@otn/documents/digitalasset/115899.gif jdk-6u35-solaris-sparc.sh
Solaris SPARC 124.6 MB   http://www.oracle.com/ocom/groups/public/@otn/documents/digitalasset/115899.gif jdk-6u35-solaris-sparc.tar.Z 
Solaris SPARC 64-bit 12.12 MB   http://www.oracle.com/ocom/groups/public/@otn/documents/digitalasset/115899.gif jdk-6u35-solaris-sparcv9.sh 
Solaris SPARC 64-bit 15.41 MB   http://www.oracle.com/ocom/groups/public/@otn/documents/digitalasset/115899.gif jdk-6u35-solaris-sparcv9.tar.Z

Thanks a lot.

The tar.Z files are Solaris SVR4 packages while the .sh are self-extractable installers. Only one of the two first downloads is required. The two last ones are adding 64 bit support.

.
SVR4 -is it SUNWj6...?

it installs more then one package. Below I have pasted the link for the instructions from Oracle.

Installation Notes

I prefer to use the tar.Z files, to install Java.

That's the other way around, SUNWj6* are packages using the SVR4 format, which is the one used by Solaris do deliver software.

Otherwise, it's basically a tarball which is simpler to install but that you cannot patch, i.e. your remove it and install a newer version to upgrade.

OK.
I have downloaded and written to CD this file - jdk-6u35-solaris-sparc.tar.Z
The OS sees that file as - jdk_6u35.z
Then I have copied that file from CD to e.g. /usr/temp_java_update.
Further I have tried unpack it.

# cd /usr/temp_java_update
# zcat jdk_6u35.z | tar -xf -
jdk_6u35.z.Z: No such file or directory
#

Where I did wrong? :frowning:

---------- Post updated at 08:09 PM ---------- Previous update was at 07:46 PM ----------

I do install by Oracle Insatallation Note. But there are discrepancies in the instruction.

Move the file to /tmp and run the command there. The commands needed will work best if there in /tmp. I don't know why the file was burned to the CD with a different name. When I download the files on a windows server and burn it to a CD I never had this issue.

Why didn't you download the file directly to the sparc machine ?

# mkdir /opt/jdk
# cd /opt/jdk
# gunzip < /cdrom/jdk_6u35.z | tar xf -

and you are done.

Why didn't you download the file directly to the sparc machine ?

Jilliagre you'll not believe. There are the place on the Earth where the utp cable with RJ45 doesn't stick out from a wall. And at the best there is 3G poor coverage around.
I know may use 3G modem+router etc and download...

I 'll try youre advices.

---------- Post updated at 02:38 AM ---------- Previous update was at 02:05 AM ----------

OK. SUNWj6rtx, SUNW6dvx installed and at /usr/jdk/instances appears JDK6 files.
Now.
Solstudio tries to find once.
1) At /usr/jdk
2) At /usr/java
3) At /usr
Question.
Where change path of search?

You might simply set $JAVA_HOME or your $PATH before launching studio to get it to pick the right java command.