Starting from TeamCity 10, the TeamCity server requires a Java 8 JRE/JDK to operate.(included in the Windows
Recommended agent Java
Starting from the next TeamCity version, the minimum requirement for the Java on the agent will be Java 1.8 (included in the Windows
.exe distribution). If an earlier version is detected, TeamCity displays a health item suggesting that you now consider upgrading the agent Java.