Unsupported Java.
Your build is currently configured to use Java 17.0.5 and Gradle 7.1.
Possible solution:
- Use Java 16 as Gradle JVM: Open Gradle settings
- Upgrade Gradle wrapper to 7.2 version and re-import the project
To fix this issue, simply click on "Upgrade Gradle wrapper to 7.2 version and re-import the project" or simply downgrade the Java JDK version.
You can download this article in various formats for your convenience. Choose from the options below:
Facing issues? Have Questions? Post them here! I am happy to answer!
- Run only a Single Unit Test using Gradle
- Run IntelliJ Java main method without Gradle build
- How to force re-download Gradle Dependencies
- How to Run Gradle Build Without Unit Test Cases
- Find installed Gradle version command
- Fix: Invalid Gradle JDK configuration found. Could not find the required JavaSDK
- Generate Project Dependency tree using Gradle Command
- Installing Gradle on macOS - Gradle Tutorial
- Gradle FAILURE: Build failed with an exception - Task not found in root project
- [Fix] ./gradlew: Permission denied
- Force Gradle to use specific Java JDK Version
- [fix] Deprecated gradle features were used in this build, making it incompatible with Gradle X.0
- Create a Gradle Java Project in VS Code
- Install Gradle VS Code for Java Projects
- Fix: Unsupported Java. Your build is currently configured to use Java 17.0.5 and Gradle 7.1.
- How to create Gradle Multi-Project in IntelliJ
- Fix: Spring Boot + IntelliJ + Gradle : Unsupported class file major version 64 Error
- Fix: Error: Could not find or load main class org.gradle.wrapper. GradleWrapperMain
- [fix] bash: gradlew: command not found
- [fix] Execution failed for task :core:compileJava - Could not find tools.jar
- Run Gradle Build without test cases
- How to add maven central repository in build.gradle
- Upgrade Gradle in Android Studio
- Task is ambiguous in root project gradle-examples. Candidates are: myTask1, myTask2
- Fix: Deprecated Gradle features were used in this build, making it incompatible with Gradle
- Program 10: Modulo of Two Numbers - 1000+ Python Programs - Python-Programs
- Android Toolbar example with appcompat_v7 21 - Android
- Python 3.x - SQLite 3 Database CRUD Operations Examples - Python
- How to upgrade PowerShell on Mac - Powershell
- TextEdit: Disable Autocorrect Option (Mac) - MacOS
- AADSTS90033: A transient error has occurred. Please try again. [Microsoft 365] - Microsoft
- Online Video to GIF Converter Tool (No Watermark - Fully Free) - Tools
- Get Wifi Details : Android Programming - Android