# Can't get Artifact's jar file to work

**URL:** <https://discuss.kotlinlang.org/t/cant-get-artifacts-jar-file-to-work/923>\
**Category:** Uncategorized\
**Created:** [February 3, 2013, 3:42pm UTC](https://discuss.kotlinlang.org/t/cant-get-artifacts-jar-file-to-work/923 "2013-02-03T15:42:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pw321188](https://avatars.discourse-cdn.com/v4/letter/p/9fc29f/32.png) [@pw321188](https://discuss.kotlinlang.org/u/pw321188)\
**Post date:** [February 3, 2013, 3:42pm UTC](https://discuss.kotlinlang.org/t/cant-get-artifacts-jar-file-to-work/923/1 "2013-02-03T15:42:12Z")

</div>

Hello, I'm newbie if it's going about Kotlin. I've created succuessfuly project that I'm able to compile and run. Anyway I wanted to create jar file via IDEA's Artifiacts. Unfortunately I can't get it to work - i'm getting "Error: Could not find or load main class updatezipcreator.jar" while trying to run file via "java updatezipcreator.jar" command.

Here is my whole project:  
[https://bitbucket.org/pw321188/updatezipcreator/overview](https://bitbucket.org/pw321188/updatezipcreator/overview)

---

<div class="post-metadata">

**Author:** ![geevee](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/geevee/32/1475_2.png) [@geevee](https://discuss.kotlinlang.org/u/geevee)\
**Post date:** [February 4, 2013, 10:19am UTC](https://discuss.kotlinlang.org/t/cant-get-artifacts-jar-file-to-work/923/2 "2013-02-04T10:19:18Z")

</div>

To make jar runnable, you need to create META-INF/MANIFEST.MF file within your source directory with the following content:

> Main-Class: my.runnable.Class
