# Outdated Kotlin Runtime message after upgrading to 1.1.4

**URL:** <https://discuss.kotlinlang.org/t/outdated-kotlin-runtime-message-after-upgrading-to-1-1-4/4258>\
**Category:** Uncategorized\
**Created:** [August 19, 2017, 12:02pm UTC](https://discuss.kotlinlang.org/t/outdated-kotlin-runtime-message-after-upgrading-to-1-1-4/4258 "2017-08-19T12:02:27Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![yay](https://avatars.discourse-cdn.com/v4/letter/y/9dc877/32.png) [@yay](https://discuss.kotlinlang.org/u/yay)\
**Post date:** [August 19, 2017, 12:02pm UTC](https://discuss.kotlinlang.org/t/outdated-kotlin-runtime-message-after-upgrading-to-1-1-4/4258/1 "2017-08-19T12:02:27Z")

</div>

I get:

```auto
Your version of Kotlin runtime in 'Maven: org.jetbrains.kotlin:kotlin-stdlib:1.1.4' library is 1.1.4, while plugin version is 1.1.4-release-IJ2017.2-2.

```

This is with `<kotlin.version>1.1.4-2</kotlin.version>`.  
Using `1.1.4` makes no difference.

A quick search shows that this issue tends to repeat itself: [Outdated Kotlin Runtime warning in Android Studio - Stack Overflow](https://stackoverflow.com/questions/43928118/outdated-kotlin-runtime-warning-kotlin-plugin-1-1-2-release-studio2-3-3)

What can I do to resolve it and prevent it from happening in the future?

---

<div class="post-metadata">

**Author:** ![Chris.Ortman](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/chris.ortman/32/3653_2.png) [@Chris.Ortman](https://discuss.kotlinlang.org/u/Chris.Ortman)\
**Post date:** [August 21, 2017, 5:53pm UTC](https://discuss.kotlinlang.org/t/outdated-kotlin-runtime-message-after-upgrading-to-1-1-4/4258/2 "2017-08-21T17:53:45Z")

</div>

There’s an answer in the stack overflow you linked to…You have to look at the error message and whatever is the -N at the end put that N in your `kotlin.version`

In this instance

`<kotlin.version>1.1.4-2</kotlin.version>`

---

<div class="post-metadata">

**Author:** ![yay](https://avatars.discourse-cdn.com/v4/letter/y/9dc877/32.png) [@yay](https://discuss.kotlinlang.org/u/yay)\
**Post date:** [August 21, 2017, 7:34pm UTC](https://discuss.kotlinlang.org/t/outdated-kotlin-runtime-message-after-upgrading-to-1-1-4/4258/3 "2017-08-21T19:34:56Z")

</div>

That’s exactly what I have there, as I mentioned in my question.

---

<div class="post-metadata">

**Author:** ![Chris.Ortman](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/chris.ortman/32/3653_2.png) [@Chris.Ortman](https://discuss.kotlinlang.org/u/Chris.Ortman)\
**Post date:** [August 21, 2017, 7:47pm UTC](https://discuss.kotlinlang.org/t/outdated-kotlin-runtime-message-after-upgrading-to-1-1-4/4258/4 "2017-08-21T19:47:44Z")

</div>

Sorry, I apparently don’t read very well ☹

This fixed it for me though…are you in intelli-J or Android Studio? Did you clean caches?

---

<div class="post-metadata">

**Author:** ![Tim\_van\_der\_Leeuw.1](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/tim_van_der_leeuw.1/32/9155_2.png) [@Tim\_van\_der\_Leeuw.1](https://discuss.kotlinlang.org/u/Tim_van_der_Leeuw.1)\
**Post date:** [August 21, 2017, 8:06pm UTC](https://discuss.kotlinlang.org/t/outdated-kotlin-runtime-message-after-upgrading-to-1-1-4/4258/5 "2017-08-21T20:06:46Z")

</div>

Cleaning caches, or perhaps re-importing the project / resynchronising the project with Maven?

---

<div class="post-metadata">

**Author:** ![yay](https://avatars.discourse-cdn.com/v4/letter/y/9dc877/32.png) [@yay](https://discuss.kotlinlang.org/u/yay)\
**Post date:** [August 21, 2017, 8:07pm UTC](https://discuss.kotlinlang.org/t/outdated-kotlin-runtime-message-after-upgrading-to-1-1-4/4258/6 "2017-08-21T20:07:38Z")

</div>

I use `IntelliJ IDEA 2017.2.2, Build #IC-172.3757.52`. Invalidating caches and restarting didn’t help. I also tried going to `Maven Projects`, cleaning and reimporting, to no avail.

EDIT: I should mention that everything builds and works perfectly, I just keep getting this warning.

---

<div class="post-metadata">

**Author:** ![Chris.Ortman](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/chris.ortman/32/3653_2.png) [@Chris.Ortman](https://discuss.kotlinlang.org/u/Chris.Ortman)\
**Post date:** [August 21, 2017, 8:19pm UTC](https://discuss.kotlinlang.org/t/outdated-kotlin-runtime-message-after-upgrading-to-1-1-4/4258/7 "2017-08-21T20:19:28Z")

</div>

Maybe grep the project for all 1.1.4 or kotlin.version ? Possible that one of the older kotlin plugins inserted kotlin version in multiple places?

---

<div class="post-metadata">

**Author:** ![dalewking](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/dalewking/32/1496_2.png) [@dalewking](https://discuss.kotlinlang.org/u/dalewking)\
**Post date:** [August 26, 2017, 7:58am UTC](https://discuss.kotlinlang.org/t/outdated-kotlin-runtime-message-after-upgrading-to-1-1-4/4258/8 "2017-08-26T07:58:34Z")

</div>

That sounds like while you have 1.1.4-2 of the maven plug-in you have a kotlin-stdlib dependency that is still 1.1.4. Suggest searching for kotlin-stdlib in your project to check.

---

<div class="post-metadata">

**Author:** ![yay](https://avatars.discourse-cdn.com/v4/letter/y/9dc877/32.png) [@yay](https://discuss.kotlinlang.org/u/yay)\
**Post date:** [August 28, 2017, 6:33pm UTC](https://discuss.kotlinlang.org/t/outdated-kotlin-runtime-message-after-upgrading-to-1-1-4/4258/9 "2017-08-28T18:33:42Z")

</div>

> [@dalewking](#):
>
> kotlin-stdlib

Thanks! That did it. I had it like that

```
    <dependency>
        <groupId>org.jetbrains.kotlin</groupId>
        <artifactId>kotlin-stdlib-jre8</artifactId>
        <version>${kotlin.version}</version>
    </dependency>

```

Removed the “-jre8” part and the warning is gone.
