Just started to learn Kotlin on IntelliJ Idea, immediately hit with this bug
Could not open init generic class cache for initialization script 'C:\Users\MrHi\AppData\Local\Temp\wrapper_init22.gradle' (C:\Users\MrHi.gradle\caches\7.4.2\scripts\4be2wxazmlr4zgpqtfq0njegl).
BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 63
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
im using IntelliJ Idea with Java 19 and Oracle JDK 19.0.2