To create a Java Azure Function with HTTP Trigger in VS CODE we need to configure as our environment as given here .
Java Development Kit, version 11 or 8.
Apache Maven, version 3.0 or above.
Visual Studio Code on one of the supported platforms.
The Java extension pack
The Azure Functions extension for Visual Studio Code.
As we have already configured the same in our environment, We have created One Azure Function using java which is using HTTP trigger.
In VS CODE for java when you will follow this Microsoft Documentation you can able to Create an Azure function using java with http trigger by providing the details.
SCREENSHOT FOR REFERENCE:-



For more information please refer this MICROSOFT DOCUMENTATION: Develop Azure Functions by using Visual Studio Code