A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
I found the answer myself:
To set a custom JDK path for the command, you can use a environment variable named JavaSdkDirectory
that contains the JDK directory path.