Partial summary: installing/upgrading to j2sdk-1_4_2_08-nb-4_1-solsparc.bin

From: Gold Sun <goldsun8_at_yahoo.com.sg>
Date: Sat Jun 11 2005 - 13:24:53 EDT
Hi,
 
Thanks to Steve, Bill & Bernd whose replies I've appended below.
 
However, I believe the installation did not go thru as I cant find
this newer version in the usual /usr directory :
# ls -lad *java*    (note the current link is already pointing to V 1.2)
lrwxrwxrwx   1 root     other          9 Dec  2  2003 java -> ./java1.2
drwxrwxr-x   6 root     bin          512 Dec  2  2003 java1.1
drwxr-xr-x   5 root     bin          512 Dec  2  2003 java1.2

The java executable link points to  .java_wrapper, all of
 which has quite old dates :
# cd /
# find . -name .java_wrapper -print
# ./opt/IBM/SCM/_jvm/bin/.java_wrapper
./opt/Tivoli/lcf/bin/solaris2/JRE/DMAE/bin/.java_wrapper
./usr/java1.2/jre/bin/.java_wrapper  <== points to this one
./usr/j2se/bin/.java_wrapper
./usr/j2se/jre/bin/.java_wrapper
./usr/java1.1/bin/.java_wrapper

I found the following url which suggests I'll need a Java 
cluster patch (I'm on Solaris 8 on SunFire 120) :
http://java.sun.com/j2se/1.4.2/install_j2se142-nb351_sol-sparc.html
 
This url also suggests that the -silent & -console flags
are not supported & it appears that this huge .bin file
I've painstakingly downloaded requires a GUI to install.
The Sun server does not come with a graphics card too.
Too much of a trouble for me to get the firewalls to permit
eXceed traffic to pass through - does anyone knows where
I can get a package that can install via a text (ssh/telnet)
terminal?  
 
Thanks
G Sun
 
==============================
"which java" 
will show you the default java binary on your system -normally 
/usr/bin/java which is a link to /usr/java/bin/java
To activate the new version you must create a symbolic link:
# assuming your default java is in /usr/java
mv /usr/java /usr/java.old
ln -s <new_java_version> /usr/java
>b)is there any install logs to show that the
>   installation is successful?
>  
>
Should be; but don't know from memory - check the installation script
>c)do I need to reboot for it to take effect?
>  
>
no
>d)do I need to remove the previous/older
>   version before installing this?
>  
>
no
>e)does this software/package that I've downloaded
>   contain/cover both SDK & JRE?
>  
>
yes
 
regards
Bernd
 
============================
 
check your path
you probably are still pointing to the:
old version of java
or
you have a softlink to a directory java that now needs to be reset to 
your new installation
 
Bill
 
============================
 
The version is still showing as the old one because the old 'java' 
executable is probably first in your path. I don't know about an 
installation log; it was probably successful unless you saw an error. 
The JRE (the Runtime Environment) is, I believe, a subset of the JDK 
(Developer's Kit). In other words, I think the JRE is included in the 
SDK.
 
Last time I did this, I did have to 'pkgrm' the old version and install the
new. I downloaded the 32-bit set of packages even though it was on a
64-bit machine. The 64-bit package did not work, because the original 
java that installed with Solaris was 32-bit as well.
Hope this helps.
 
Steve Sandau

========== original question : ================
Hi,

We're currently running an older version that's vulnerable :
# java -fullversion
java full version "Solaris_JDK_1.2.2_10"

Thus I went to the url http://java.sun.com/j2se/
& downloaded j2sdk-1_4_2_08-nb-4_1-solsparc.bin
& tried installing it as follows :
./j2sdk-1_4_2_08-nb-4_1-solsparcAP200480606.bin
InstallShield Wizard
Initializing InstallShield Wizard...
Preparing Java(tm) Virtual Machine...
...................................
The installer is unable to run in graphical mode. Try running 
the installer with the -console or -silent flag.

So I rerun it :
# ./j2sdk-1_4_2_08-nb-4_1-solsparcAP200480606.bin -silent
# java -fullversion
java full version "Solaris_JDK_1.2.2_10"

My questions are :
a)why is the version still showing as 1.2.2_10?
b)is there any install logs to show that the
installation is successful?
c)do I need to reboot for it to take effect?
d)do I need to remove the previous/older
version before installing this?
e)does this software/package that I've downloaded
contain/cover both SDK & JRE?

As I can't find the Installation Guide, I just tried
what my instinct tells me (since this is not a .pkg
file, I'm not using pkgadd).

Thanks for any help,
G Sun




---------------------------------
Meet your soulmate!
Yahoo! Asia presents Meetic - where millions of singles gather 
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers

		
---------------------------------
Meet your soulmate!
 Yahoo! Asia presents Meetic - where millions of singles gather 
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Sat Jun 11 13:25:32 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:48 EST