# win-release-package.sh creates a corrupted nxt-client-1.12.2.jar file

**URL:** <https://talk.jelurida.com/t/win-release-package-sh-creates-a-corrupted-nxt-client-1-12-2-jar-file/296>\
**Category:** Developers\
**Created:** [25 April 2021 10:44 UTC](https://talk.jelurida.com/t/win-release-package-sh-creates-a-corrupted-nxt-client-1-12-2-jar-file/296 "2021-04-25T10:44:39Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![lior.yaffe](https://talk.jelurida.com/letter_avatar_proxy/v4/letter/l/ecb155/32.png) [@lior.yaffe](https://talk.jelurida.com/u/lior.yaffe)\
**Post date:** [26 April 2021 09:52 UTC](https://talk.jelurida.com/t/win-release-package-sh-creates-a-corrupted-nxt-client-1-12-2-jar-file/296/15 "2021-04-26T09:52:23Z")

</div>

The Nxt runtime is trying to create files in the C:\Program Files\NXT folder which is read only.  
To resolve it you need to run it in desktop mode.

Under C:\Program Files\NXT in the `resource` folder you should have a file named `nxt.properties` with the following content:  
# This file in internal configuration file used by nxt.exe, this is not the NXT properties file located in the user's home directory  
# Therefore do not modify this file  
PathJRE=jdk  
PersonalOptions=-server -Dnxt.runtime.mode=desktop -Dnxt.redirect.system.out=true -Dnxt.redirect.system.err=true

This file is used by nxt.exe to compose the Java command line.  
Is it there?

---

_[View the full topic](https://talk.jelurida.com/t/win-release-package-sh-creates-a-corrupted-nxt-client-1-12-2-jar-file/296)._
