Despite the fact that the Azure Functions Runtime supports Java, you cannot create a Java Azure Function using the Azure Function Core Tool in the same way that you created a JavaScript function in the previous section.
To create a Java Azure Function you need the Azure Function Core Tools, but you also must have the following:
- Java Developer Kit (JDK) SE LTE version 8 (https://repos.azul.com/azure-only/zulu/packages/zulu-8/8u181/)
- Apache Maven version 3.0 or above (https://maven.apache.org/download.cgi)
The process to create a Java Azure Function is not simple and linear, but in the end, a Java Azure Function is a public method decorated with the @FunctionName annotation (as the FunctionName attribute for the C# functions). This method is the entry point for the function and it must be unique in the entire package.
The structure of a project written...