Regarding the TAPI, this <says> &gt; The Tooling A...
# community-support
s
Regarding the TAPI, this says
The Tooling API always uses the Gradle daemon.
and
The JVM running the Tooling API client and the one running the daemon can be different.
but it does not tell me how I can use a different JVM for the daemon than the JVM that runs my TAPI client. Any hints?
a
Copy code
//in case you want the build to use java different than default:
build.setJavaHome(new File("/path/to/java"));
s
Great, that looks promising. I'm using the
ModelBuilder
only, but it also implements https://docs.gradle.org/current/javadoc/org/gradle/tooling/ConfigurableLauncher.html#setJavaHome-java.io.File-
🙌 1