As technical requirements have evolved, Ametys 4.6 uses Java version 17.
The list of technical compatibilities can be found on page 2. Prerequisites and recommendations in the installation and operation manual.