我如何在WINDOWS 10上安装Gradle? [英] How do i install gradle on WINDOWS 10

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

问题描述

我尝试了一些使用路径的方法,但它并不奏效,因为当我在系统变量中编辑路径时,它会打开所有路径,而不是像在教程中那样,我应该在末尾放置;%GRADLE_HOME%\bin 。







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


$ b


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

解决方案

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

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

Click the Advanced system settings link.

Click Environment Variables

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.

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天全站免登陆