B Environment Variables

Environment variables are parameters that configure the Oracle Reports environment. The Oracle Fusion Middleware installer automatically defines default values for relevant environment variables. Edit the environment variable settings to change the default behavior:

  • On Windows, edit the environment variables through the Registry Editor (Start > Run > Regedit).

  • On UNIX, edit the environment variables by revising and running the shell script that defines the initial default values (reports.sh). If you do this, keep a backup of the original, unaltered reports.sh file.


    The reports.sh file in Oracle Reports 12c Release ( may contain some required changes for the release. Thus, if you have made any changes to the reports.sh file in prior releases, save a backup before you perform your upgrade. Post-upgrade, merge your modifications with the reports.sh file installed with Oracle Reports12c Release (

If you set any environment variable in the $DOMAIN_HOME/reports/bin/reports.sh file (for UNIX) or in the registry file (for Windows), all the Reports Servers present in that Instance Home are affected.

If you want to set the environment variable only for a particular server, you must set the environment variable in the <environment> element in the reports_process.xml file of that particular server.

To set the environment variable for an In-process server, you must modify the settings in the setStartupEnv.sh file located at $DOMAIN_HOME/bin.