# Completely stuck starting with Kotlin + JIDEA + Gradle

**URL:** <https://discuss.kotlinlang.org/t/completely-stuck-starting-with-kotlin-jidea-gradle/5163>\
**Category:** Support\
**Created:** [October 29, 2017, 10:12am UTC](https://discuss.kotlinlang.org/t/completely-stuck-starting-with-kotlin-jidea-gradle/5163 "2017-10-29T10:12:27Z")\
**Posts on this page:** 1\
**Showing post:** 21

<div class="post-metadata">

**Author:** ![makistos](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/makistos/32/4272_2.png) [@makistos](https://discuss.kotlinlang.org/u/makistos)\
**Post date:** [November 7, 2017, 8:25am UTC](https://discuss.kotlinlang.org/t/completely-stuck-starting-with-kotlin-jidea-gradle/5163/21 "2017-11-07T08:25:00Z")

</div>

Check the accepted answer here: [Building a self-executable JAR with Gradle and Kotlin - Stack Overflow](https://stackoverflow.com/questions/26469365/building-a-self-executable-jar-with-gradle-and-kotlin)

This, too, has more or less the same solution: [Kotlin Basics: Create Executable Kotlin JARs, using Gradle | by Preslav Rachev | Medium](https://medium.com/@preslavrachev/kotlin-basics-create-executable-kotlin-jars-using-gradle-d17e9a8384b9)

Funnily enough someone else had the same problem and while you asked him questions you never solved it. The last message links to a solution similar to mine: [Build jar with IDEA throws error but fine with Gradle - #6 by jajacomp](https://discuss.kotlinlang.org/t/build-jar-with-idea-throws-error-but-fine-with-gradle/3794/6)

---

_[View the full topic](https://discuss.kotlinlang.org/t/completely-stuck-starting-with-kotlin-jidea-gradle/5163)._
