Abnormal build process termination Bad CPU type in executable

Hi since latest version i get this error when trying to generate tests

Abnormal build process termination:
nice -n 10 …jdk-17.0.3.1.jdk/Contents/Home/bin/java … Contents/Home/bin/java: Bad CPU type in executable

sorry my fault i used wrong jdk