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

Last updated on APRIL 15, 2017

Applies to:

Oracle XML Developers Kit - Version 11.1.0.6 and later
Oracle Database - Enterprise Edition - Version 8.1.7.0 and later
Information in this document applies to any platform.

Symptoms


Executing the loadjava utility fails with:

java: not found


For example, executing:

$ loadjava -help


returns:

/app/oracle/product/ofdevdb/10.2/bin/loadjava: /app/oracle/product/10.2/jdk/jre//bin/java: not found

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms