

You can override these settings in the Procfile command (which takes precedence over the defaults). Since Java automatically picks it up, you do not need to include it in your Procfile command. Heroku uses this to set default Java options based on dyno size. JAVA_TOOL_OPTIONS is directly supported by Java and intended to augment a command line in environments where the command-line cannot be accessed or modified. JAVA_OPTS: Default Java options based on dyno size (identical to JAVA_TOOL_OPTIONS).

JAVA_TOOL_OPTIONS: Default Java options based on dyno size.See Connecting to Relational Databases on Heroku with Java for more information. JDBC_DATABASE_URL: If a DATABASE_URL variable is present, this will be populated with the converted form.LD_LIBRARY_PATH: With the location of the JDK shared libraries.

