top of page
  • Writer's pictureblkrishnarao

Error: The Java RunTime Environment was not found - attachHome 10.1.2 Oracle Home | Oracle Database

Updated: Apr 16

The following opinions expressed in this post are my own and in no way connected to my employer. 


Error when trying to attach 10.1.2 ORACLE HOME

To attach a home execute as below:
cd $ORACLE_HOME/oui/bin
./runInstaller -silent -attachHome ORACLE_HOME="/im/<inst_id>/apps/tech_st/10.1.2" ORACLE_HOME_NAME="<INST_ID>_TOOLS"
If facing error as below:
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/OraInstallyyyy-mm-dd_hh-mm-ssAM. Please wait ...The Java RunTime Environment was not found at /tmp/ OraInstallyyyy-mm-dd_hh-mm-ssAM/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.
: No such file or directory

Solution:

Check the oraparam.ini file located under $ORACLE_HOME/oui

Edit the value of JRE_LOCATION and set is as below, which points to jre located inside the ORACLE_HOME

vi oraparam.ini
JRE_LOCATION=../../jdk/jre

Re-run the attach home :

cd $ORACLE_HOME/oui/bin
./runInstaller -silent -attachHome ORACLE_HOME="/im/<inst_id>/apps/tech_st/10.1.2" ORACLE_HOME_NAME="<INST_ID>_TOOLS"

2 views0 comments

Recent Posts

See All

Comments


bottom of page