- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Actors don't work with Java 1.5
Thu, 2009-11-26, 18:49
hi,
using a recent nightly from scala, my previously working code breaks
with
java.lang.NoSuchMethodError:
java.util.concurrent.locks.LockSupport.park(Ljava/lang/Object;)V
and
java.lang.NoClassDefFoundError: java/util/concurrent/RunnableFuture
when calling the actor method... seems some java 1.6 stuff sneaked in
here?
ciao, -sciss-
Thu, 2009-11-26, 19:27
#2
Re: Actors don't work with Java 1.5
i have always been using http://www.scala-lang.org/scala-eclipse-
plugin-nightly ... is there a separate eclipse plug-in site for java
1.5?
thanks, -sciss-
Am 26.11.2009 um 17:57 schrieb Daniel Sobral:
> There are two distributions, 1.5 and 1.6. Are you sure you got the
> 1.5 distribution?
>
> On Thu, Nov 26, 2009 at 3:49 PM, Sciss wrote:
> hi,
>
> using a recent nightly from scala, my previously working code
> breaks with
>
> java.lang.NoSuchMethodError:
> java.util.concurrent.locks.LockSupport.park(Ljava/lang/Object;)V
> and
> java.lang.NoClassDefFoundError: java/util/concurrent/RunnableFuture
>
> when calling the actor method... seems some java 1.6 stuff sneaked
> in here?
>
> ciao, -sciss-
>
>
>
>
Thu, 2009-11-26, 19:37
#3
Re: Actors don't work with Java 1.5
On Thu, Nov 26, 2009 at 6:08 PM, Sciss wrote:
> i have always been using
> http://www.scala-lang.org/scala-eclipse-plugin-nightly ... is there a
> separate eclipse plug-in site for java 1.5?
At the moment, no ... there probably should be.
What JDK are you using to build your application? Even if the IDE code
was built with 1.6 you should be able to select 1.5 for building your
own projects.
Cheers,
Miles
Thu, 2009-11-26, 19:57
#4
Re: Actors don't work with Java 1.5
The question is the Scala distribution being used. A 1.6 Scala distribution won't work with Java 1.5, particularly concerning Actors.
On Thu, Nov 26, 2009 at 4:14 PM, Miles Sabin <miles@milessabin.com> wrote:
--
Daniel C. Sobral
Veni, vidi, veterni.
On Thu, Nov 26, 2009 at 4:14 PM, Miles Sabin <miles@milessabin.com> wrote:
On Thu, Nov 26, 2009 at 6:08 PM, Sciss <contact@sciss.de> wrote:
> i have always been using
> http://www.scala-lang.org/scala-eclipse-plugin-nightly ... is there a
> separate eclipse plug-in site for java 1.5?
At the moment, no ... there probably should be.
What JDK are you using to build your application? Even if the IDE code
was built with 1.6 you should be able to select 1.5 for building your
own projects.
Cheers,
Miles
--
Miles Sabin
tel: +44 (0)7813 944 528
skype: milessabin
http://www.chuusai.com/
http://twitter.com/milessabin
--
Daniel C. Sobral
Veni, vidi, veterni.
On Thu, Nov 26, 2009 at 3:49 PM, Sciss <contact@sciss.de> wrote:
--
Daniel C. Sobral
Veni, vidi, veterni.