1841322 Members
2603 Online
110179 Solutions
New Discussion

Re: jre version

 
SOLVED
Go to solution
Donald Thaler
Super Advisor

jre version

How do i identify the cuurent version of jre installed on my unix system
3 REPLIES 3
Patrick Wallek
Honored Contributor
Solution

Re: jre version


# swlist -l product | grep -i java
Yogeeraj_1
Honored Contributor

Re: jre version

hi,

you can also try:

MYSERVER: opt/java1.4/bin>./java -fullversion
java full version "1.4.2.06-041015-12:38-PA_RISC2.0"
MYSERVER: opt/java1.4/bin>


hope this helps too!

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
gigiz
Valued Contributor

Re: jre version

identify how many java distribution you have with :
ll -d /opt/java*
dr-xr-xr-x 4 bin bin 96 Jun 24 2004 /opt/java1.2
dr-xr-xr-x 3 bin bin 96 Jun 24 2004 /opt/java1.3
dr-xr-xr-x 4 bin bin 96 Mar 23 2006 /opt/java1.4

for the your java select for example java1.4
you do:
/opt/java1.4/jre/bin/java -version
java version "1.4.2.05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.05-040917-16:58)
Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.05-040917-18:54-PA_RISC2.0 PA2.0 (aCC_AP), mixed mode)

regards ....