Compile error “Class file has wrong version 52.0, should be 50.0” February 12, 2024 by Tarik Select “File” -> “Project Structure”. Under “Project Settings” select “Project” From there you can select the “Project SDK”.