# Some problems were found with the configuration of task ':wrapper'

**URL:** <https://discuss.gradle.org/t/some-problems-were-found-with-the-configuration-of-task-wrapper/9464>\
**Category:** Help/Discuss\
**Created:** [May 4, 2015, 7:46pm UTC](https://discuss.gradle.org/t/some-problems-were-found-with-the-configuration-of-task-wrapper/9464 "2015-05-04T19:46:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rowenap](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@rowenap](https://discuss.gradle.org/u/rowenap)\
**Post date:** [May 4, 2015, 7:46pm UTC](https://discuss.gradle.org/t/some-problems-were-found-with-the-configuration-of-task-wrapper/9464/1 "2015-05-04T19:46:31Z")

</div>

## Hi, I’m new to Gradle. I downloaded, unzipped to desktop, double clicked on the Windows batch file, added GRADLE\_HOME to Path, navigated to the bin directory using the command line, typed gradle -v and the following information was returned:

## Gradle 2.3

Build time: 2015-02-16 05:09:33 UTC  
Build number: none  
Revision: 586be72bf6e3df1ee7676d1f2a3afd9157341274

Groovy: 2.3.9  
Ant: Apache Ant™ version 1.9.3 compiled on December 23 2013  
JVM: 1.8.0\_45 (Oracle Corporation 25.45-b02)  
OS: Windows 7 6.1 amd64

* * *

I then ran the following command  
$ gradle init --type basic

I got a failure message with the following detail:

- What went wrong:  
Some problems were found with the configuration of task ‘:wrapper’.

> Cannot write to file  
> ‘C:\Users\Nicolette\Desktop\gradle-2.3\bin\gradle\wrapper\gradle-wrapper.jar’  
> specified for property ‘jarFile’, as ancestor  
> ‘C:\Users\Nicolette\Desktop\gradle-2.3\bin\gradle’ is not a directory.  
> Cannot write to file ‘C:\Users\Nicolette\Desktop\gradle-2.3\bin\gradle\wrapper\gradle-wrapper.properties’  
> specified for property ‘propertiesFile’, as ancestor  
> ‘C:\Users\Nicolette\Desktop\gradle-2.3\bin\gradle’ is not a directory.

When I look at the directory structure the following exists:  
C:\Users\Nicolette\Desktop\gradle-2.3\bin.gradle i.e. dot-gradle

Would be grateful for guidance on where I went wrong. I have a stack trace if it helps.

---

<div class="post-metadata">

**Author:** ![David\_Karr](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/david_karr/32/145_2.png) [@David\_Karr](https://discuss.gradle.org/u/David_Karr)\
**Post date:** [May 4, 2015, 8:00pm UTC](https://discuss.gradle.org/t/some-problems-were-found-with-the-configuration-of-task-wrapper/9464/2 "2015-05-04T20:00:06Z")

</div>

What exactly did you set as your GRADLE\_HOME?

---

<div class="post-metadata">

**Author:** ![rowenap](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@rowenap](https://discuss.gradle.org/u/rowenap)\
**Post date:** [May 4, 2015, 9:00pm UTC](https://discuss.gradle.org/t/some-problems-were-found-with-the-configuration-of-task-wrapper/9464/3 "2015-05-04T21:00:08Z")

</div>

C:\Users\Nicolette\Desktop\gradle-2.3\bin

---

<div class="post-metadata">

**Author:** ![David\_Karr](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/david_karr/32/145_2.png) [@David\_Karr](https://discuss.gradle.org/u/David_Karr)\
**Post date:** [May 4, 2015, 10:06pm UTC](https://discuss.gradle.org/t/some-problems-were-found-with-the-configuration-of-task-wrapper/9464/4 "2015-05-04T22:06:10Z")

</div>

Remove the “\bin” and try again. It has to point to the distribution, not the bin directory.

---

<div class="post-metadata">

**Author:** ![rowenap](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@rowenap](https://discuss.gradle.org/u/rowenap)\
**Post date:** [May 4, 2015, 10:32pm UTC](https://discuss.gradle.org/t/some-problems-were-found-with-the-configuration-of-task-wrapper/9464/5 "2015-05-04T22:32:56Z")

</div>

Thanks. I tried that just now but got the same error.

I tried variable GRADLE\_HOME C:\Users\Nicolette\Desktop\gradle-2.3 with GRADLE\_HOME; in the Path variable. Then tried with GRADLE\_HOME/bin in the Path variable.Same error.

I was following instructions here: [http://gradle.org/docs/current/userguide/installation.html#N10125](http://gradle.org/docs/current/userguide/installation.html#N10125) “For running Gradle, add GRADLE\_HOME/bin to your PATH environment variable. Usually, this is sufficient to run Gradle.”

---

<div class="post-metadata">

**Author:** ![David\_Karr](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/david_karr/32/145_2.png) [@David\_Karr](https://discuss.gradle.org/u/David_Karr)\
**Post date:** [May 4, 2015, 11:28pm UTC](https://discuss.gradle.org/t/some-problems-were-found-with-the-configuration-of-task-wrapper/9464/6 "2015-05-04T23:28:44Z")

</div>

And assuming you’re changing these variables in Control Panel, are you starting a new shell after make the change?

Are you running “gradle wrapper” in a project directory, or are you trying to run this while sitting in the GRADLE\_HOME directory?
