The installation steps of a JDK6 for:
are quite straightforward but:
- are in two separate documents
- do not deal with local zone (container) installation
- do not address fully non-standard installation path
The answer below is a community-wiki one, meant to be edited.
Do you have any comments/remarks we all should know when installing JDK on a Solaris10 sparc server?
Best Answer
Since 2009 (time of my first answer), I found out that the self-extracting scripts were perfectly compatible with non-standard path (like installing a JDK in a user's
$HOME/usr/local
for instance, instead of the system path/usr/local
)The latest Oracle JDK download page lists:
You need to be careful if you copy them from Windows to your server (with winscp for instance): you need to copy those two
sh
scripts as binary (or they won't work once copied on the Unix server).Once on the server, you need to
chmod 755
the two.sh
(the second being needed only if you have a 64-bit Solaris).Execute them both (for instance in
$HOME/usr/local
, as the user without needing any root privilege), firstjdk-6u26-solaris-sparc.sh
, then if neededjdk-6u26-solaris-sparcv9.sh
.That will create a
$HOME/usr/local/jdf1.6.0_26
in which you have a fully operation JDK.pkgadd
)$HOME/usr/local/jdf1.6.0_26/bin
to your$PATH
if you want to use that particular JDK, but the point is:this installation won't disturb any of your current environment settings.
(note: the
JAVA_HOME
isn't set of course, but it never is by any installation process anyway)