Solved

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

Posted on 2009-04-06
4
1,148 Views
Last Modified: 2013-11-23
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

0
Comment
Question by:sunhux
  • 2
  • 2
4 Comments
 

Author Comment

by:sunhux
ID: 24076848

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?
0
 
LVL 12

Expert Comment

by:basav_com
ID: 24079658
jdk includes 'jre' + extra tools. You don't need to install again.

http://www.java-tips.org/java-se-tips/java.lang/what-is-the-difference-between-jdk-and-jre.html
0
 
LVL 12

Accepted Solution

by:
basav_com earned 500 total points
ID: 24079676
Set your JAVA_HOME variable to point to the new location. Check your PATH varible, and update it accordingly.
i.e. PATH should have..   PATH=$JAVA_HOME/bin:$PATH so it will point to the new java.
0
 

Author Comment

by:sunhux
ID: 24226258

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
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
groupSum5 challenge 5 67
Control Number of Log Files -Perl 7 52
servlet  URL Rewriting 1 24
SCP a file to multiple machines using a script 4 11
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now