loadjava报错Java: Not Found Error

环境信息:

EBS----------------12.1.3

RDBMS-----------11.2.0.3.0

OS-----------Linux 6.3

Symptoms

loadjava报错,错误如下:

[appl02@vs009 ~]$ loadjava
/u01/VIS02/apps/tech_st/10.1.2/bin/loadjava: line 19: /nfs/bld/d26/PRDXBLD9/apps/tech_st/10.1.2/jdk/jre//bin/java: No such file or directory
/u01/VIS02/apps/tech_st/10.1.2/bin/loadjava: line 19: exec: /nfs/bld/d26/PRDXBLD9/apps/tech_st/10.1.2/jdk/jre//bin/java: cannot execute: No such file or directory

找不到JAVA

Cause

[appl02@vs009 ~]$ which java
/u01/VIS02/apps/tech_st/10.1.3/appsutil/jdk/jre/bin/java

与上述错误对比,显而易见的是JAVA路径不对

The JRE cannot be found or is being picked up from a different Oracle Home than where loadjava is installed.

Solution

Loadjava is Failing with Java: Not Found Error (文档 ID 1184794.1)

Verify the JAVA_HOME environment variable being set by the loadjava utility is pointing to the right location. Open the script ot batch file and modify JAVA_HOME to point to the JRE location for the Oracle home where the loadjava utility is installed.

1、编辑$ORACLE_HOME/bin/loadjava文件中JAVA相关路径

2、重新执行

你可能感兴趣的:(EBS,R12.1,管理维护)