Having trouble exporting using gradle

Godot Version

4.2

Question

So I recently learned to export my game to an apk to andriod, and it was working fine. After I added an admob plugin to get ads working for my game, and for the admob plugin i needed to enable Gradle. after enabling gradle i tried to export again and i get this long line of bugs when i do.


the main issue is i have a unsupported Major file type so it would be something wrong with my JDK or java download. has anyone experienced this? what JDK should i download or what might the problem be.