Quantcast
Viewing all articles
Browse latest Browse all 4189

Gradle Build - Failed to find the specified JDK version, version 8 x86

As of today, our Gradle Build is failing with the following error:

Error: Failed to find the specified JDK version. Please ensure the specified JDK version is installed on the agent and the environment variable 'JAVA_HOME_8_X86' exists and is set to the location of a corresponding JDK or use the [Java Tool Installer](https://docs.microsoft.com/en-us/vsts/build-release/tasks/tool/java-tool-installer) task to install the desired JDK.

We made no changes to the code - we tried with the Master branch and it happened with that as well.  We also have not changed the build definition or the agent pool definition.  Something changed in Azure DevOps.  This has also been reported in the Developer forum, so not unique to us:

https://developercommunity.visualstudio.com/content/problem/469316/hosted-vs2017-failed-to-find-jdk.html?inRegister=true

In the Gradle step of the build, we have:

Set JAVA_HOME by: JDK Version;

JDK Version: JDK 8;

JDK Architecture: x86;

Set GRADLE_OPTS: -Xmx1048m


Viewing all articles
Browse latest Browse all 4189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>