如何在Windows 10上安装gradle? [英] How do I install gradle on Windows 10?

查看:60
本文介绍了如何在Windows 10上安装gradle?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试了一些关于路径的方法,但是没有用.当我在System变量中编辑路径时,它会打开所有路径,这与教程中的不一样,在教程中,我应该只在最后放置;%GRADLE_HOME%\ bin .

I tried some ways with the path thing, but it did not work. When I edit the path in the System variables it opens up all the paths, not like in tutorials, where I should just put the ;%GRADLE_HOME%\bin at the end.

推荐答案

下载Gradle并将其解压缩到您要安装的位置.

Download Gradle and unzip it to where you want it installed.

然后在Windows搜索中,搜索系统",然后选择:系统(控制面板)

Then in Windows Search, search for "System" and then select: System (Control Panel)

点击高级系统设置链接.

Click the Advanced system settings link.

点击环境变量

然后单击用户变量下的新建"按钮,并将 GRADLE_HOME 添加到变量名称和指向从Gradle到变量值的解压缩文件的根目录的路径.

Then click New button under user variable and add GRADLE_HOME to variable name and path pointing to the root directory of unpacked files from the Gradle to variable value.

在"系统变量"部分中,选择"路径",然后单击编辑"按钮.在下一个窗口中,单击新建"按钮,然后添加指向Gradle中解压缩文件的bin目录的路径.

In System variable section select Path and then click the Edit button. In next window click New button and add path pointing to the bin directory of unpacked files from the Gradle.

这篇关于如何在Windows 10上安装gradle?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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