Which Java level macOS Monterey supports?

I am curious to know which OpenJDK Java version/level macOS Monterey supports? Or can you specify what are the Java levels which will work on macOS Monterey ? Thanks.

I do use 16.0.1 downloaded inside IntelliJ.

Which Java level macOS Monterey supports?
 
 
Q