You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-reference-java.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -208,7 +208,10 @@ Functions lets you customize the Java virtual machine (JVM) used to run your Jav
208
208
*`-Djava.net.preferIPv4Stack=true`
209
209
*`-jar`
210
210
211
-
You can provide additional arguments in an app setting named `JAVA_OPTS`. You can add app settings to your function app deployed to Azure in the Azure portal or the Azure CLI.
211
+
You can provide additional arguments in an app setting. You can add app settings to your function app deployed to Azure in the Azure portal or the Azure CLI.
212
+
* In Windows/Linux dedicated and premium plan, use app setting named `JAVA_OPTS`
213
+
* In the Windows Consumption plan, use app setting named `languageWorkers:java:arguments`.
214
+
* In the Linux Consumption plan, use app setting named `languageWorkers__java__arguments`.
212
215
213
216
> [!IMPORTANT]
214
217
> In the Consumption plan, you must also add the WEBSITE_USE_PLACEHOLDER setting with a value of 0 for the customization to work. This setting does increase the cold start times for Java functions.
0 commit comments