Database Administration (MOSC)

MOSC Banner

Oracle 12c : relation between OJVM and JDK

edited Oct 15, 2018 5:00AM in Database Administration (MOSC) 1 commentAnswered

Hi,

I've and Oracle 12cR2 database (12.2.0.1) on Linux and did apply de July 2018 CPU (or RUR as I think it's called nowadays). My question:

What is the relation between OJVM and the $ORACLE_HOME/jdk? The versions are different:

$ORACLE_HOME/jdk/bin/java -version

java version "1.8.0_91"

Java(TM) SE Runtime Environment (build 1.8.0_91-b14)

Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)

and

SQL> SELECT  dbms_java.get_ojvm_property(PROPSTRING=>'java.version') FROM dual;

DBMS_JAVA.GET_OJVM_PROPERTY(PROPSTRING=>'JAVA.VERSION')
--------------------------------------------------------------------------------
1.8.0_181

I thought the versions should be the same??

By the way: what is an easy entry point (url) to download the CPU's? By chance I stumbled on this url:

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