flutter plugin related issue
PS E:projectsamplemy_flutter_projectmy_flutter_project> flutter run Launching libmain.dart on RMX1971 in debug mode… FAILURE: Build failed with an exception. * What went wrong: Value ‘C:Program FilesJavajdk-17’ given for org.gradle.java.home Gradle property is invalid (Java home supplied is invalid) * Try: > Run with –stacktrace option to get the stack trace. > Run with –info or –debug option […]
java version not change in flutter
I am having trouble changing the Java version for Flutter. I installed JDK version 22 and updated the JAVA_HOME environment variable to point to the new JDK 22 path. I also added JAVA_HOMEbin to the PATH.
Gradle Error: Unsupported Class File Version 66 with Java 22 – How to Resolve?
The issue I’m encountering is related to using Gradle with Java 22. When attempting to run a Gradle build, I’m encountering the following error: