Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Upgrading jre in Oracle 9idb

Re: Upgrading jre in Oracle 9idb

From: Harald Maier <Harald.Maier_at_onlinehome.de>
Date: Wed, 10 Sep 2003 11:40:33 +0200
Message-ID: <m3ekypx9pq.fsf@ate.maierh>


ajb <member36489_at_dbforums.com> writes:

> Hi!
>
>
>
> I run a 9.2.0.1.0, who uses jre 1.3.1. One of my stored java-
> procedures need jre 1.4.1, and i wonder if anyone knows how i make
> the db use this jre.

If you look to the vm.vendor and vm.version property so you will see that the Java Virtual Machine is vendor specific. So I fear you have to wait until Oracle ships their own Java 1.4 release. In 9.2.0.4 it is still Java 1.3.1 as you can see below.

,----[ Java code ]
| String vendor = System.getProperty( "java.vm.vendor" );
| String version = System.getProperty( "java.vm.version" );
| return vendor + " " + version;

`----

,----
| SQL*Plus: Release 9.2.0.4.0 - Production on Mi Sep 10 11:32:47 2003
|
| Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
|
|
| Connected to:
| Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
| With the Partitioning, Oracle Label Security, OLAP and Oracle Data Mining options
| JServer Release 9.2.0.4.0 - Production
|
| SQL>
| SYS_VERSION()
| --------------------------------------------------------------------------------
| Oracle Corporation 1.3.1

`----

Harald Received on Wed Sep 10 2003 - 04:40:33 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US