Java
Detection
The default build system for Java applications is Maven. Java applications are detected when a pom.xml file is detected at the root of your project directory.
Runtime
You can use a specific Java version by creating a file called system.properties in the root level of your project directory with the following content:
system.properties
java.runtime.version=20Accepted major version values are 1.8, 11, 13, 15, 17, 19, and 20.
If you do not specify a Java version, version 1.8 will be used.