English 中文(简体)
Is it possible to run AKKA on Java 1.5?
原标题:
  • 时间:2010-09-30 11:32:47
  •  标签:
  • scala
  • akka

Is it possible to run AKKA on Java 1.5? I m getting java.lang.UnsupportedClassVersionError: Bad version number in .class file for se.scalablesolutions.akka.actor.LocalActorRef. AKKA version is 0.9.1

There s noting said about the JVM version limitations at http://doc.akkasource.org/getting-started

最佳回答

I have had the same problem with 0.10. I talked to Viktor Klang about it and i think he confirmed that Java 1.5 is not recommended. My advice is:

"Do not even try"

问题回答

we are leveraging some of the 1.6 features to give Akka some of its awesomeness, however, if there s enough interest we can definitely consider backporting it to 1.5 as a blessed, for-pay, release bundle.

If you re interested just ping me.

Happy hAkking!

As Scala itself should be backward compatible to Java 1.5, I guess you could pull the Akka sources and try to build it with Java 1.5 yourself. Of course it can happen that Akka relies on a Java class that didn t exist in Java 1.5.





相关问题
How to flatten a List of different types in Scala?

I have 4 elements:List[List[Object]] (Objects are different in each element) that I want to zip so that I can have a List[List[obj1],List[obj2],List[obj3],List[obj4]] I tried to zip them and I ...

To use or not to use Scala for new Java projects? [closed]

I m impressed with Twitter and investigating to use Scala for a new large scale web project with Hibernate and Wicket. What do you think about Scala, and should I use it instead of Java? EDIT: And, ...

Why does Scala create a ~/tmp directory when I run a script?

When I execute a Scala script from the command line, a directory named "tmp" is created in my home directory. It is always empty, so I simply deleted it without any apparent problem. Of course, when I ...

Include jar file in Scala interpreter

Is it possible to include a jar file run running the Scala interpreter? My code is working when I compile from scalac: scalac script.scala -classpath *.jar But I would like to be able to include a ...

Scala and tail recursion

There are various answers on Stack Overflow which explain the conditions under which tail recursion is possible in Scala. I understand the limitations and how and where I can take advantage of tail ...

热门标签