How can I use Akka Actors in a Java application?
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. Then I wrote this Actor class: package com.example; import akka.actor.UntypedActor; public class MyActor extends UntypedActor { public void onReceive(Object message) throws IllegalArgumentException { if (message instanceof String) { System.out.println("Received: " + message); } else throw new IllegalArgumentException("Unknown message: " + message); } } But I get errors in Eclipse: The type scala.Option cannot be resolved. The type scala.Some cannot be resolved. The