Operating System - OpenVMS
1823113 Members
3371 Online
109646 Solutions
New Discussion юеВ

Re: Need Java for Oracle9i

 
SOLVED
Go to solution
JerryK
Advisor

Need Java for Oracle9i

We upgraded an Alpha ES40 from 7.3-1 to 7.3-2 which erased Java 1.1. My Oracle9i client needs to find Java to startup. I product installed Java142 and ran the startup with fast, but Oracle still does not see Java. Also on other Alphas in sys$manager there is a Java specific startup file which does not exist on this system. Did I miss a step with the Java install? Do I need to install Java131 instead?
8 REPLIES 8
Joseph Huber_1
Honored Contributor

Re: Need Java for Oracle9i

I don't know if Oracle needs something specific,
but for all newer Java versions, the process (!) using Java, must do a setup via e.g.
SYS$COMMON:[JAVA$142.COM]JAVA$142_SETUP.COM
prior to using any of the Java commands.

(The former java startup in sys$manager: was for java 1.1.8)

http://www.mpp.mpg.de/~huber
Volker Halle
Honored Contributor

Re: Need Java for Oracle9i

Jerry,

you need to invoke JAVA$version_SETUP.COM in your login or sylogin procedure, so that it's available in each process, which may want to use JAVA.

You had to do this with the SYS$MANAGER:JAVA$SETUP.COM procedure in V7.3-1 as well.

Volker.
JerryK
Advisor

Re: Need Java for Oracle9i

Do I need to run either @sys$common:[java$142.com]java$config_wizard.com or @sys$common:[java$142.com]java$check_environment.com ?
Volker Halle
Honored Contributor

Re: Need Java for Oracle9i

Jerry,

the JAVA SDK V1.4.x User Guide describes how to run these procedures:

http://h18012.www1.hp.com/java/documentation/1.4.2/ovms/docs/user_guide.html

The following example illustrates a typical pattern for using these command procedures:

One time-Am I set up quota-wise to run Java?

$ @SYS$COMMON:[JAVA$14x.COM]JAVA$CHECK_ENVIRONMENT.COM


One time-Build me a JAVA$CONFIG_SETUP.COM for my intended usage

$ @SYS$COMMON:[JAVA$14x.COM]JAVA$CONFIG_WIZARD.COM


Set up the Java environment, select VM

$ @SYS$COMMON:[JAVA$14x.COM]JAVA$14x_SETUP.COM {FAST}


Define my tailored set of logical names
$ @JAVA$CONFIG_SETUP.COM

Note: If you choose to run JAVA$CONFIG_SETUP.COM, be sure to run it after running JAVA$14x_SETUP.COM.



Volker.
JerryK
Advisor

Re: Need Java for Oracle9i

I will try that this evening.
Duncan Morris
Honored Contributor

Re: Need Java for Oracle9i

Jerry,

a good description of the Oracle 9i Java requirements after a 7.3-2 VMS upgrade can be found well down in this thread...

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=732044&admit=-682735245+1163524636673+28353475

Regards,

Duncan

Bill Hall
Honored Contributor
Solution

Re: Need Java for Oracle9i

The version of Oracle 9i we have installed does not "know" about any of the Java 1.4x versions. Oracle only checks for versions 1.1.x 1.2.x and 1.3.x of the Java SDK being installed.

Install JAVA131 V1.3-17.

Bill
Bill Hall
JerryK
Advisor

Re: Need Java for Oracle9i

Thank you