How to Fix: IntelliJ: Error:java: error: release version 5 not supported
IntelliJ IDEA Ultimate 2019.3.1 supports Java versions up to 8, not 11.
📋 Table of Contents
IntelliJ IDEA Ultimate 2019.3.1 has a known issue where it does not support Java 5 as a release version. This error occurs because Java 5 is no longer supported by Oracle, and the project is trying to use it.
🛠️ Step-by-Step Verified Fixes
Method 1: Update Project Template
- Step 1: Open the
settings.gradlefile and update theprojectSDKto a compatible version, such as Java 11 or higher.
Method 2: Use Maven or Gradle
- Step 1: Create a new project using Maven or Gradle, which are Java build tools that support multiple versions of Java.
🎯 Final Words
By following these steps, you should be able to resolve the 'release version 5 not supported' error in IntelliJ IDEA Ultimate 2019.3.1.
❓ Frequently Asked Questions
🛠️ Related Fixes
How to Fix: Pc crashes shortly after launching game (rainbow
Pc crashes shortly after launching game, possible cause: outdated grap
How to Fix: Installing an APK on a locked down phone
Installing an APK on a locked down phone: Try using a rooted device, e
How to Fix: FPS drops
FPS drops in games can be caused by high system resource usage, outdat