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
The Azure Functions supports specific versions of Java. This support changes based on the support or Java versions. As these supported versions change, you need to update your Java function apps. You may also want to update your apps to take advantage of features in newer version of Java that are supported by Functions. For more information, see [Supported versions](functions-reference-java.md#supported-versions) in the Java developer guide.
11
+
The Azure Functions supports specific versions of Java. This support changes based on the support or Java versions. As these supported versions change, you need to update your Java function apps. You may also want to update your apps to take advantage of features in newer supported version of Java. For more information, see [Supported versions](functions-reference-java.md#supported-versions) in the Java developer guide.
12
12
13
13
:::zone pivot="platform-windows"
14
-
The way that you update your function app depends on whether you run on Windows or Linux. This is the Windows version. Choose your OS at the [top](#top) of the article.
14
+
The way that you update your function app depends on whether you run on Windows or Linux. This version is for Windows. Choose your OS at the [top](#top) of the article.
15
15
:::zone-end
16
16
:::zone pivot="platform-linux"
17
-
The way that you update your function app depends on whether you run on Windows or Linux. This is the Linux version. Choose your OS at the [top](#top) of the article.
17
+
The way that you update your function app depends on whether you run on Windows or Linux. This version is for Linux. Choose your OS at the [top](#top) of the article.
18
18
:::zone-end
19
19
20
20
## Prepare to update
@@ -23,11 +23,11 @@ Before you update the Java version in Azure, you should complete these tasks:
23
23
24
24
### 1. Verify your functions locally
25
25
26
-
Before upgrading the Java version used by your function app in Azure, make sure that you have fully tested and verified your function code locally on the new target version of Java. Examples in this article assume you are updating to Java 17.
26
+
Before upgrading the Java version used by your function app in Azure, make sure that you have fully tested and verified your function code locally on the new target version of Java. Examples in this article assume you're updating to Java 17.
27
27
28
28
### 2. Move to the latest Functions runtime
29
29
30
-
Before updating your Java version, make sure your function app is running on the latest version of the Functions runtime (version 4.x). You can do this either by using Azure CLI or in the Azure portal.
30
+
Before updating your Java version, make sure your function app is running on the latest version of the Functions runtime (version 4.x).
31
31
32
32
### [Azure portal](#tab/azure-portal)
33
33
@@ -44,7 +44,7 @@ Use this [`az functionapp config appsettings list`](/cli/azure/functionapp/confi
44
44
```azurecli
45
45
az functionapp config appsettings list --name "<FUNCTION_APP_NAME>" --resource-group "<RESOURCE_GROUP_NAME>"
46
46
```
47
-
The runtime version is indicated by the `FUNCTIONS_EXTENSION_VERSION` setting. A value of `~4` means that your function app is already running on the latest minor version of the latest major version (4.x).
47
+
The `FUNCTIONS_EXTENSION_VERSION` setting dictates the runtime version. A value of `~4` means that your function app is already running on the latest minor version of the latest major version (4.x).
48
48
49
49
### [Azure PowerShell](#tab/azure-powershell)
50
50
@@ -54,7 +54,7 @@ The [`Get-AzFunctionAppSetting`](/powershell/module/az.functions/get-azfunctiona
The runtime version is indicated by the `FUNCTIONS_EXTENSION_VERSION` setting. A value of `~4` means that your function app is already running on the latest minor version of the latest major version (4.x).
57
+
The `FUNCTIONS_EXTENSION_VERSION` setting dictates the runtime version. A value of `~4` means that your function app is already running on the latest minor version of the latest major version (4.x).
58
58
59
59
---
60
60
@@ -106,7 +106,7 @@ In this example, replace `<APP_NAME>` and `<RESOURCE_GROUP>` with the name of yo
106
106
107
107
### [Azure PowerShell](#tab/azure-powershell)
108
108
:::zone pivot="platform-windows"
109
-
Use the [`Update-AzFunctionAppSetting`](/powershell/module/az.functions/update-azfunctionappsetting) cmdlet to to update the `java-version` setting to `17`:
109
+
Use the [`Update-AzFunctionAppSetting`](/powershell/module/az.functions/update-azfunctionappsetting) cmdlet to update the `java-version` setting to `17`:
0 commit comments