# Could not open settings generic class cache for settings file 'Z:\\settings.gradle'

**URL:** <https://forums.unrealengine.com/t/could-not-open-settings-generic-class-cache-for-settings-file-z-settings-gradle/1603860>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, crash, question\
**Created:** [January 10, 2024, 10:09am UTC](https://forums.unrealengine.com/t/could-not-open-settings-generic-class-cache-for-settings-file-z-settings-gradle/1603860 "2024-01-10T10:09:11Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Pcooper1979](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pcooper1979](https://forums.unrealengine.com/u/Pcooper1979)\
**Post date:** [February 13, 2024, 4:41pm UTC](https://forums.unrealengine.com/t/could-not-open-settings-generic-class-cache-for-settings-file-z-settings-gradle/1603860/4 "2024-02-13T16:41:08Z")

</div>

Ignore the z:\settings.gradle message, it threw me too. Focus on your Java version, I had my project pointed at JDK version 21 by mistake, Unreal & Gradle need version 17 to work properly

---

_[View the full topic](https://forums.unrealengine.com/t/could-not-open-settings-generic-class-cache-for-settings-file-z-settings-gradle/1603860)._
