JRE not found message while running runInstaller

Last updated on September 11th, 2016 at 11:59 am

We often  need to run runInstaller to attach Oracle home to the inventory.Recently while attaching a oracle home to central inventory i get  JRE not found message while running runInstaller


Run runInstaller from $ORACLE_HOME/oui/bin, it fails with the following error:

Starting Oracle Universal Installer…
No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-11-27_06-19-04AM. Please wait …The Java RunTime Environment was not found at /tmp/OraInstall2015-11-27_06-19-04AM/jre/bin/java. Hence, the Oracle Universal Installer cannot be run.
Please visit http://www.javasoft.com and install JRE version 1.3.1 or higher and try again.

Reason for the error

On investigation,I found the following solution to the problem

The oraparam.ini file is incorrect in $ORACLE_HOME/oui directory.

The line in the oraparm.ini file that was incorrect was:

How to resolve the error

To implement the solution, please execute the following steps:

1. Back up the oraparm.ini file in $ORACLE_HOME/oui
2. Modify the oraparam.ini file:
Change : JRE_LOCATION=../..///u000/orac/TEST/apps/tech_st/10.1.2/jdk/jre

To: JRE_LOCATION=/u000/orac/TEST/apps/tech_st/10.1.2/jdk/jre

3. Run the universal installer from $ORACLE_HOME/oui/bin/runInstaller

we can use

$ORACLE_HOME/oui/bin/runInstaller -ignoreSysPrereqs -jreLoc <the_entire_path_to_OS_JRE>

Then Oracle Home should attach to the inventory successfully and your error should resolve.

Hope you like this article on error   JRE not found.  Please do provide feedback to us

Leave a Reply