Link to home
Start Free TrialLog in
Avatar of sunhux
sunhux

asked on

How to upgrade to JRE ( Java Runtime Environment ) 5 Upd 8 in Solaris

Hi,

I uploaded into my Solaris 10's server to /var/tmp/jre  the file
jre-1_5_0_18-solaris-sparc.sh

& run the above using root (ie ./jre..sh ) and this generates an
entire folder under /var/tmp/jre/jre1.5.0_18 ...

I think the steps given below are not complete :
http://java.sun.com/j2se/1.5.0/jre/install-solaris.html

Q1:
Do we need to move the files in /var/tmp/jre/jre1.5.0_18
to /usr/j2se  (there's currently a directory /usr/j2se/jre
there which holds an older version of jre)

Q2:
what about the binaries in /usr/bin/*  (ie java, javaws)

Q3:
what about /usr/java/bin

Q4:
any other things that I need to do for new java to take effect?
I've moved from /var/tmp/jre/jre...  to above directories & rebooted
the server but when I login as root & issue "java -version" it's still
showing the old Update 12 version

Avatar of sunhux
sunhux

ASKER


Just realized that the soft link is still pointing to Update 12 :

# cd /usr
# ls -ld jav*
lrwxrwxrwx   1 root     other         15 Apr 25  2008 java -> jdk/jdk1.5.0_12

What's the difference JDK and JRE.

I've just downloaded jdk-1_5_0_18-nb-6_5_1-solaris-sparc-ml.sh

So does this jdk package cover what's in the jre package I downloaded earlier?
Or I need to download/install both?
ASKER CERTIFIED SOLUTION
Avatar of basav_com
basav_com
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sunhux

ASKER


At the java download site, there's  JDK   &    JDK+Java Beans.

Can I say the latter is the superset of the former?  Or I should not
install JDK+Java Beans if what's currently existing in my system
is JDK only