I can\'t figure out to get this working.
Scenario:
What I w
If you are executing using gradle wrapper, you can run the command with JDK path like following
./gradlew -Dorg.gradle.java.home=/jdk_path_directory