Hi @Suman589,
Java 17 is not supported yet. In other words AEMaaC officially is not compatible with Java 17 for now. According to the documentation Java 8 and 11 are officially available. In terms of AEMaaC latest Java 11 is recommended. Above limitation is not only related to AEMaaC but also Cloud Manager. Here are some links to Adobe documentation that provides all the details:
You can find and download supported java version on Adobe Software Distribution site, you will need Adobe ID to sign in and proper level of permission to download Java and other artifacts.
Of course you can try to use Java 17 in your local setup, but this will bring risk that code you have compiled locally will not compile and work on remote instances.