> So I awnt to download j2se, have done that, or at least the patch for Solaris
> 8. The file I downloaded was j2sdk-1_3_1-patches-solsparc-5.8.tar. When I
> untared it, I found patch 108921-07 and 108940-12. I used patchadd to add both
> of these. Then I tried running java -version. I am still getting v1.2.2.
j2sdk-1_3_1-patches-solsparc-5.8.tar are Solaris patches required to run
Java 1.3.1, not the Java software.
Quote:> How do I get from v1.2.2 to v1.3.1? I would think that Sun has some way I can
> simply "update" the machine. Am I wrong? Do I need to download the v1.3.1
> tar.Z file and change links and paths and a shit load of stuff or does Sun have
> something setup that is not so painful?
Get j2sdk-1_3_1-solsparc.tar.Z, unpack it and follow the install
instructions. This is more ore less a
pkgadd -d . SUNW* in the unpack directory
Probably this is hidden in some kind of installation script (I don't
remember exactly as I installed this some time ago). Afterwards you'll
/usr/java1.2 (Old Java 1.2)
/usr/j2se (New Java 1.3.1)
and a symbolic link
/usr/java -> /usr/java1.2
Remove this link and create an new symlink
ln -s j2se /usr/java
to get /usr/j2se/bin/java as default Java version. The command
should tell you what you've got.
Reinhard Zierke Universit?t Hamburg, FB Informatik