Gradle Build - 无法找到指定的JDK版本,版本8 x86 [英] Gradle Build - Failed to find the specified JDK version, version 8 x86

查看:547
本文介绍了Gradle Build - 无法找到指定的JDK版本,版本8 x86的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

截至今天,我们的Gradle Build失败并出现以下错误:






错误:找不到指定的JDK版本失败。请确保代理上安装了指定的JDK版本,并且环境变量"JAVA_HOME_8_X86"存在并设置为相应JDK的位置或使用[Java Tool Installer](https://docs.microsoft.com/en- us / vsts / build-release / tasks / tool / java-tool-installer)
安装所需JDK的任务。

解决方案

你好Huckleberry32,


感谢您与我们联系!


如您所述,此问题已在开发者社区中报告过。


在研究问题的同时,您可以在论坛上试试这个建议:


将JDK架构更改为x64


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.

解决方案

Hi Huckleberry32,

Thank you for reaching out!

As you have mentioned, this issue has already been reported in the developer community.

While the issue is being looked into, can you try out the suggestion on the forum:

Change the JDK Architecture to x64


这篇关于Gradle Build - 无法找到指定的JDK版本,版本8 x86的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆