# Why doesn’t it work?

**URL:** <https://discuss.kotlinlang.org/t/why-doesn-t-it-work/22514>\
**Category:** Support\
**Created:** [July 25, 2021, 2:08pm UTC](https://discuss.kotlinlang.org/t/why-doesn-t-it-work/22514 "2021-07-25T14:08:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![leon.adamsidk](https://avatars.discourse-cdn.com/v4/letter/l/ba9def/32.png) [@leon.adamsidk](https://discuss.kotlinlang.org/u/leon.adamsidk)\
**Post date:** [July 25, 2021, 2:08pm UTC](https://discuss.kotlinlang.org/t/why-doesn-t-it-work/22514/1 "2021-07-25T14:08:39Z")

</div>

![idk](https://us1.discourse-cdn.com/flex019/uploads/kotlinlang/original/2X/3/3e749524fa98f66271b497a90d348cc05f02710c.png)

---

<div class="post-metadata">

**Author:** ![gidds](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/gidds/32/10865_2.png) [@gidds](https://discuss.kotlinlang.org/u/gidds)\
**Post date:** [July 26, 2021, 7:54am UTC](https://discuss.kotlinlang.org/t/why-doesn-t-it-work/22514/2 "2021-07-26T07:54:45Z")

</div>

You’d be more likely to get helpful replies if you posted the code and the _full_ stack trace as text, not an image. (Images can be hard to read, especially on small screens; they’re not searchable, not accessible, and not copy-and-pasteable, [amongst other issues](https://meta.stackoverflow.com/q/285551).)

---

<div class="post-metadata">

**Author:** ![ilya.gorbunov](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/ilya.gorbunov/32/1645_2.png) [@ilya.gorbunov](https://discuss.kotlinlang.org/u/ilya.gorbunov)\
**Post date:** [July 26, 2021, 10:36am UTC](https://discuss.kotlinlang.org/t/why-doesn-t-it-work/22514/3 "2021-07-26T10:36:03Z")

</div>

What version of Kotlin plugin do you have installed?  
What JDK version is configured in your project?

From the stacktrace, it’s likely that you’re using Kotlin 1.4.x or lower with JDK 16 or higher, which is not supported. In that case you need either to upgrade Kotlin plugin, or to use lower JDK version, for example, JDK 15.
