JRE_TOP or java executable not found at its desired location
Issue:
[oracle@ebs121 bin]$ perl adbldxml.pl
Starting context file generation for db tier..
JRE_TOP or java executable not found at its desired location /db/oracle/PROD/12.1.0/appsutil/jre, /db/oracle/PROD/12.1.0/appsutil/jre/bin/java
Restart adbldxml.pl with value for jtop as an necessary argument
[oracle@ebs121 bin]$
Solution:
[oracle@ebs121 bin]$ perl adbldxml.pl jtop=$ORACLE_HOME/jdk/
Starting context file generation for db tier..
Using JVM from /db/oracle/PROD/12.1.0/jdk//bin/java to execute java programs..
APPS Password:
The log file for this adbldxml session is located at:
/db/oracle/PROD/12.1.0/appsutil/log/adbldxml_12262339.log
Could not Connect to the Database with the above parameters, Please answer the Questions below
Enter Hostname of Database server: ebs121
Enter Port of Database server: 1521
Enter SID of Database server: PROD
Enter Database Service Name: PROD
Enter the value for Display Variable: ebs121:1.0
The context file has been created at:
/db/oracle/PROD/12.1.0/appsutil/PROD_ebs121.xml
[oracle@ebs121 bin]$
[oracle@ebs121 bin]$ sh adconfig.sh
Enter the full path to the Context file: /db/oracle/PROD/12.1.0/appsutil/PROD_ebs121.xml
Enter the APPS user password:
The log file for this session is located at: /db/oracle/PROD/12.1.0/appsutil/log/PROD_ebs121/12262342/adconfig.log
AutoConfig is configuring the Database environment...
AutoConfig will consider the custom templates if present.
Using ORACLE_HOME location : /db/oracle/PROD/12.1.0
Classpath : :/db/oracle/PROD/12.1.0/jdbc/lib/ojdbc6.jar:/db/oracle/PROD/12.1.0/appsutil/java/xmlparserv2.jar:/db/oracle/PROD/12.1.0/appsutil/java:/db/oracle/PROD/12.1.0/jlib/netcfg.jar
Using Context file : /db/oracle/PROD/12.1.0/appsutil/PROD_ebs121.xml
Context Value Management will now update the Context file
Updating Context file...COMPLETED
Attempting upload of Context file and templates to database...COMPLETED
Updating rdbms version in Context file to db121
Updating rdbms type in Context file to 64 bits
Configuring templates from ORACLE_HOME ...
AutoConfig completed successfully.
[oracle@ebs121 bin]$