Database Install/Upgrade/Opatch (MOSC)

MOSC Banner

which java is giving "/usr/bin/java" but java -version is giving proper output! why?

edited Nov 9, 2014 11:05PM in Database Install/Upgrade/Opatch (MOSC) 13 commentsAnswered ✓

we have E-business suite Multitude environment..

It is showing different version version on APP2 as below -

[applmgr@app2 ~]$ java -version

java version "1.7.0_45"

OpenJDK Runtime Environment (rhel-2.4.3.3.0.1.el6-x86_64 u45-b15)

OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)

[applmgr@app2 ~]$ perl -v

This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi

[applmgr@app2 ~]$ which java

/usr/bin/java

[applmgr@app2 ~]$ which perl

/usr/bin/perl

[applmgr@app2 ~]$

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

While on the other node APP1 its showing properly.

[applmgr@-app1 ~]$ java -version

java version "1.6.0_10"

Java(TM) SE Runtime Environment (build 1.6.0_10-b33)

Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)

[applmgr@-app1 ~]$

[applmgr@-app1 ~]$

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center