Skip to content

How to customize JVM options on Azure Functions

kaibocai edited this page Jan 27, 2022 · 9 revisions
  • Dedicated and Premium Functions:
    Create an app setting named JAVA_OPTS with a value of your customizing parameters for example “-Dexample=true”. If you already have the JAVA_OPTS app setting set, just append “-Dexample=true” to the existing value.

  • Consumption Functions:
    Linux: Create an app setting named “languageWorkers__java__arguments” with a value of “-Dexample=true”.
    Windows: Create an app setting named “languageWorkers:java:arguments” with a value of “-Dexample=true”.

More examples can be find here: https://github.com/Azure/azure-functions-java-worker/issues/474

Clone this wiki locally