Java 17 is new LTS version and it make sense to migrate existing projects to the new version. I will describe my specific case