# Akka and Java 9 modules

**URL:** <https://discuss.akka.io/t/akka-and-java-9-modules/3649>\
**Category:** Akka Libraries\
**Created:** [March 13, 2019, 9:18am UTC](https://discuss.akka.io/t/akka-and-java-9-modules/3649 "2019-03-13T09:18:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![volna80](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/volna80/32/1272_2.png) [@volna80](https://discuss.akka.io/u/volna80)\
**Post date:** [March 13, 2019, 9:18am UTC](https://discuss.akka.io/t/akka-and-java-9-modules/3649/1 "2019-03-13T09:18:20Z")

</div>

Hi,

I’ve read ton’s of different topics but still don’t understand.

Is it possible to use Akka in Java 9 module systems?

I see that they close the issue: [https://github.com/akka/akka/issues/23931](https://github.com/akka/akka/issues/23931)

I’ve tried to add akka to my module-info and get

java.lang.module.FindException: Unable to derive module descriptor for C:\Users\Nick.m2\repository\org\scala-lang\modules\scala-java8-compat\_2.12\0.8.0\scala-java8-compat\_2.12-0.8.0.jar  
Caused by: java.lang.IllegalArgumentException: scala.java8.compat.2.12: Invalid module name: ‘2’ is not a Java identifier

Akka actor uses this dependency.

So, anybody could manage to use Akka in modules?

---

<div class="post-metadata">

**Author:** ![patriknw](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/patriknw/32/89_2.png) [@patriknw](https://discuss.akka.io/u/patriknw)\
**Post date:** [March 17, 2019, 2:43pm UTC](https://discuss.akka.io/t/akka-and-java-9-modules/3649/2 "2019-03-17T14:43:55Z")

</div>

The module system isn’t supported yet. Module name can probably be added to that dependency if you create an issue, but there will (probably) be other unsolved problems.

---

<div class="post-metadata">

**Author:** ![schrepfler](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/schrepfler/32/286_2.png) [@schrepfler](https://discuss.akka.io/u/schrepfler)\
**Post date:** [November 13, 2019, 7:53pm UTC](https://discuss.akka.io/t/akka-and-java-9-modules/3649/3 "2019-11-13T19:53:15Z")

</div>

Hi Patrick, any updates in addressing this issue? This is becoming problematic on recent JDKs.

---

<div class="post-metadata">

**Author:** ![patriknw](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/patriknw/32/89_2.png) [@patriknw](https://discuss.akka.io/u/patriknw)\
**Post date:** [November 13, 2019, 8:34pm UTC](https://discuss.akka.io/t/akka-and-java-9-modules/3649/4 "2019-11-13T20:34:14Z")

</div>

recent JDKs? We only support jdk 8 and 11, and running with modules isn’t supported yet.
