How can I use Akka Actors in a Java application?

后端 未结 4 1820
我寻月下人不归
我寻月下人不归 2021-01-13 06:51

I would like to use Akka actors in Java.

I downloaded the akka-1.0.zip and added akka-actor-1.0.jar to my \"Build Path\" in Eclipse.

<
4条回答
  •  猫巷女王i
    2021-01-13 07:47

    In your akka-1.0.zip file there is scala-library.jar. Try adding it to the build path.

    Also, there is a lib_managed directory inside the zip, which contains further library files. Possibly aslo some of them will be needed.

    To avoid this kind of situations you should try maven. There is a Akka repository: http://scalablesolutions.se/akka/repository/se/scalablesolutions/akka/

提交回复
热议问题