There isn't one single language behind most Steam games, since developers pick tools based on the project. That said, C++ is by far the most common for performance-heavy titles, while others use C#, Java, or engines like Unity and Unreal that abstract much of the coding away.
So while Java is used in some games, it's far from the dominant choice across the platform.