Error: "JAVA_HOME Is Not Set" When Running Database Setup (dbsetup.bat or .sh) Or Database Migration (migrate.bat or .sh) Or Schema Validation (validate.bat or .sh)

(Doc ID 1465706.1)

Last updated on NOVEMBER 29, 2017

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version and later
Primavera P6 Professional Project Management - Version and later
Information in this document applies to any platform.


When attempting to run dbsetup, migrate, or validate utility, error JAVA_HOME is not set  is returned, and the utility terminates.

Example Screen capture:


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