How do you determine/set the version of Akka used by the Scala REPL?

31 views
Skip to first unread message

Mark Bower

unread,
Apr 6, 2016, 12:04:21 AM4/6/16
to Akka User List
I am running MacOSX10.8, Java1.8, Scala 2.11 and would like to run Akka 2.4 in the Scala REPL, but I cannot find out how to specific where the Scala REPL gets its Akka implementation. I can run simple Akka actors in the REPL, but more advanced topics (like remote applications) generate errors that indicate an older version of Akka is being used in the REPL, but I can't figure out which one. What I would like is the equivalent of a "java -version" in Unix, but for Akka in the Scala REPL. Thoughts?

Viktor Klang

unread,
Apr 6, 2016, 5:00:30 AM4/6/16
to Akka User List
ActorSystem.Version

On Wed, Apr 6, 2016 at 6:04 AM, Mark Bower <markr...@gmail.com> wrote:
I am running MacOSX10.8, Java1.8, Scala 2.11 and would like to run Akka 2.4 in the Scala REPL, but I cannot find out how to specific where the Scala REPL gets its Akka implementation. I can run simple Akka actors in the REPL, but more advanced topics (like remote applications) generate errors that indicate an older version of Akka is being used in the REPL, but I can't figure out which one. What I would like is the equivalent of a "java -version" in Unix, but for Akka in the Scala REPL. Thoughts?

--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.



--
Cheers,

Mark Bower

unread,
Apr 6, 2016, 11:12:06 PM4/6/16
to akka...@googlegroups.com
Thank you, Victor!

Where does the Scala REPL get it's Akka version, and how can that version be changed? I tried "System.getProperty("config.path")", but that returned "null" (?).

Mark

You received this message because you are subscribed to a topic in the Google Groups "Akka User List" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/akka-user/eGCZLpdiRac/unsubscribe.
To unsubscribe from this group and all its topics, send an email to akka-user+...@googlegroups.com.

Viktor Klang

unread,
Apr 7, 2016, 1:22:59 AM4/7/16
to Akka User List

Check the classpath

--
Cheers,

Reply all
Reply to author
Forward
0 new messages