It seem you already have a post here: How do I update one of my java projects to JAVA17? And people are helping there