So I'm seeing the new daemon jvm specification sup...
# community-support
t
So I'm seeing the new daemon jvm specification support, but it doesn't look like supports a manual path? Basically my code base includes a full JDK in it's checkout, and I want my builds both with the Gradle wrapper and in Android Studio to use that JDK. I've got my Gradlew script modified to find and use the checkout, but that isn't working for Android Studio. If I start up a fresh VM, check out my code, install Android Studio and attempt to build I get an error that there's no available JVMs that will work. (We're still working on updating things so we can use Java 21/22)
Actually it may have been that my buildLogic project didn't have the same wrapper modifications
t
Can't you define
org.gradle.java.home
in your
gradle.properties
? https://docs.gradle.org/current/userguide/build_environment.html#gradle_properties_reference
t
Checkout includes Linux and Darwin versions (and I build on both OS's) so I can't just specify the relative path to the jdk, unfortunately
At least I don't think so