Oracle 9i install on RedHat 8 problems with JRE

From: John Bell <jrm_bell_at_hotmail.com>
Date: 21 Apr 2003 08:19:21 -0700
Message-ID: <59c6a934.0304210719.742af559_at_posting.google.com>


Hi

I am struggling with an Oracle 9i install on RedHat 8. I did run into the make problem as detailed on
http://staff.in2.hr/denis/oracle/92install_rh80_en.html, but it worked successfully after adding -ldl to the make file. At the end of the process when it tried to run the Oracle Net Configuration Assistant
Initially I was getting an error saying that the file /usr/oracle/OraHome/oracle.swd.jre/bin/i386/native_threads/jre did not exist, so I create a link to
/usr/oracle/OraHome/oracle.swd.jre/bin/i686/native_threads/jre

I am now trying to resolve the following errors.

Oracle Net Configuration Assistant
Error: Illegal option: -native
Java(tm) Runtime Loader Version 1.1.8
Usage: jre [-options] classname [arguments] Options:

-?, -help print out this message
-v, -verbose turn on verbose mode
-verbosegc print a message when garbage collection occurs
-noasyncgc disable asynchronous garbage collection
-noclassgc disable class garbage collection
-ss<number> set the maximum native stack size for any thread
-oss<number> set the maximum Java stack size for any thread
-ms<number> set the initial Java heap size
-mx<number> set the maximum Java heap size
-D<name>=<value> set a system property
-classpath <path> set class path to <path>
-cp <path> prepend <path> to base class path
-verify verify all classes when loaded
-verifyremote verify classes loaded from the network (default)
-noverify do not verify any classes
-nojit disable JIT compiler

Oracle Database Configuration Assistant
Error: Could not locate Java runtime

Agent Configuration Assistant
Error: Could not create Java VM

For the first error, I create a script containing the listed command, and removed the -native flag, I then got the "Could not locate Java runtime" error even though rt.jar was in the -classpath parameter.

/usr/oracle/OraHome/JRE/bin/jre
-Duser.dir=/usr/oracle/OraHome/network/jlib -classpath
/usr/oracle/OraHome/JRE/lib/i18n.jar:/usr/oracle/OraHome/JRE/lib/rt.jar:/usr/oracle/OraHome/jlib/ewt3.jar:/usr/oracle/OraHome/jlib/ewtcompat-3_3_15.jar:/usr/oracle/OraHome/jlib/netcfg.jar:/usr/oracle/OraHome/network/jlib/netcam.jar:/usr/oracle/OraHome/network/jlib/netca.jar:/usr/oracle/OraHome/jlib/help3.jar:/usr/oracle/OraHome/jlib/oracle_ice5.jar:/usr/oracle/OraHome/jlib/share.jar:/usr/oracle/Or
Home/jlib/swingall-1_1_1.jar:/usr/oracle/OraHome/jlib/srvm.jar:/usr/oracle/OraHome/network/tools  oracle.net.ca.NetCA /orahome /usr/oracle/OraHome /instype typical /inscomp client,oraclenet,javavm,server,ano /insprtcl tcp,tcps /cfg local /authadp NO_VALUE /nodeinfo NO_VALUE /responseFile /usr/oracle/OraHome/network/install/netca_typ.rsp

Other Google posts suggests that you get the error "Could not locate Java runtime" when you have installed the JDK and not the JRE. I did have the Sun JDK (rpm) installed, but that was removed and nothing has changed.

Any help would be appreciated, as I am now at a loss as what to try next.

Thanks

John Received on Mon Apr 21 2003 - 17:19:21 CEST

Original text of this message