Hi Folks
Went through this today for the Java version and it didn't work
https://typesafe.com/activator/docs
typesafe-activator-1.2.3
Seems a few things are needed to run the batch script (on windows)
1. java has to be in your path (the activator.bat does some parsing) and it 
breaks if if it can't run the command "java -version", the shell variable 
JAVA_HOME is not enough
Get the windows command shell error 
The syntax of the command is incorrect

below in activator.bat
rem Check what Java version is being used to determine what memory options 
to use
for /f "tokens=3" %%g in ('java -version 2^>^&1 ^| findstr /i "version"') 
do (
    set JAVA_VERSION=%%g
)

2. If you have run older versions of akka (I've kicked around the java 
spring akka in the past), I got similar error to 
https://github.com/typesafehub/activator/issues/549
java.lang.NoSuchMethodError: 
scala.util.matching.Regex.unapplySeq(Ljava/lang/CharSequence;)Lscala/Option;

Just deleting the version properties file as mentioned in that article did 
not work

I deleted .activator, .ivy and .sbt folder in my home dir and was able to 
launch hello-akka successfully

Hope this helps the next person and maybe there should be a note to include 
java in your path in the documentation (I have mult version of java on my 
machine)

G


-- 
>>>>>>>>>>      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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to