I can not find what java uses gradle profiler for ...
# community-support
e
I can not find what java uses gradle profiler for downloading the gradle distribution.
java
is set in path, but JAVA_HOME is not set.
v
Then that
java
from the path should be used. You can also check the version using
./gradlew --version
e
Not sure
I delete the 8.10 distribution from home cache
if I run
./gradlew help
it downloads dist fine
If I try to run gradle profiler now
it fails in downloading dist because Java doesn't have corporate certificate
v
So
./gradlew help
works, what then does not work?
e
./gradle-profiler
v
Ah, sorry, dindn't manage to mentally add the missing "r" in your original message
🙌 1
e
Sorry for misleading
v
But the Gradle profiler is just a dist built with the
application
plugin, so it uses basically the same start script
gradlew
. So it should behave exactly the same, using
JAVA_HOME
if defined or otherwise the
java
form the
PATH
.
e
Thanks, strange it does not behave same
Ah, I'm back
I need to point gradle profiler to specific jdk
v
Well, I guess my statement stands unchanged :-)
e
Haha, oke, I found gradle profiler from brew is bash script that plays with JAVA_HOME
I exported env JAVA_HOME
it would be great to print which JDK it uses
v
Using
JAVA_HOME
is what I said, just scroll up. 😄