About 50 results
Open links in new tab
  1. java - How do I tell Gradle to use specific JDK version ... - Stack ...

    JAVA_HOME_FOR_MY_PROJECT=<path to my desired JDK> What I don't want point JAVA_HOME to the desired JDK I could live with many suggestions: a solution that defines a system environment …

  2. How to create Java gradle project - Stack Overflow

    Dec 24, 2012 · I could handle it using a groovy method in build.gradle to create all source folders for java, resources and test. Then I set it to run before gradle eclipse task.

  3. Starting from which version does Gradle support Java 21?

    Sep 20, 2023 · Java 21, Gradle 8.5 For full Java 21 support, you can use Gradle 8.5. The release notes say: With this release, Gradle now fully supports compiling, testing and running on Java 21. If …

  4. Android Studio Error "Android Gradle plugin requires Java 11 to run ...

    Apr 7, 2021 · If you run into this problem from the terminal in Android Studio, you should configure JAVA_HOME in your environment into Java 11, set the Gradle JDK in Preferences can't solve.

  5. Version Compatibility with Gradle, Spring and Java Version

    Mar 14, 2024 · How to check which version of Spring Boot and Java is compatible with Gradle version. Most of time when I download spring app from spring starter it start throwing while running.

  6. java - Creating runnable JAR with Gradle - Stack Overflow

    The gradle java plugin defines 4 "configurations" corresponding to 4 different classpaths: compile (used to compile the Java files), testCompile (which is used to compile the test Java source files), runtime …

  7. flutter - How to resolve "Android Gradle plugin requires Java 11 to run ...

    Mar 19, 2022 · Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8. You can try some of the following options: - changing the IDE settings. - changing the JAVA_HOME …

  8. Android Studio Ladybug: Your build is currently configured to use ...

    Oct 3, 2024 · The Question specifically mentioned latest Android Studio Ladybug and in the latest AS Ladybug 2024.2.1 There is no Gradle Projects part on Build Tools/Gradle.

  9. How to suppress "Restricted method called: java.lang.System::load ...

    Aug 5, 2025 · How to suppress "Restricted method called: java.lang.System::load" warning when using native-platform in Gradle on JDK 22+

  10. android - Gradle Build Fails with "Unsupported class file major version ...

    Oct 9, 2024 · Ladybug uses by default the included Java 21 version (class file version 65), in Koala it was Java 17. I think you have to manually change the Gradle JDK version in Android Studio back to 17.