Problem with the JRE
Answered
Hello.
I'm having problems when I'm executing my project (IntelliJ Plugin).
Error message : “error: my/tools/ProjectWindowFactory has been compiled by a more recent version of the Java Runtime (class file version 66.0), this version of the Java Runtime only recognizes class file versions up to 65.0”.
I have check the gradle configuration and the project. All used the SDK 22. I don't understand where the mistake came from.
Best regards.
Please sign in to leave a comment.
Hi, most likely you need to change Settings | Build, Execution, Deployment | Build Tools | Gradle | Gradle JVM to newer.
If it doesn't help, what version do you use. Also, share your Gradle build script.
Thanks. I have install the SDK 21 and the problem is resolved.
But now, all my imports are detected as a mistake.
Can you help me ?
Try to refresh your Gradle project: https://www.jetbrains.com/help/idea/work-with-gradle-projects.html#gradle_refresh_project
Thanks. The refresh don't work. To resolve my problem, I have create a new project with the SDK 21.
I have an other question.
I have create a Tool Window Content for my plugin. I try to set a specific background color to a JLabel but it's impossible to see it.
I have try to activate the opacity or the visibility but nothing change.
Good night.