- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Scala interpreter failing after installation of scala-android.jar
Sun, 2009-11-01, 21:22
Hello all,
just wanted to verify if other people have this bug (or whether it has already been seen in this variant) :
I go the $SCALA_HOME/bin folder, and type
> sbaz install scala-android
which it duly does (I have a new jar in the lib folder)
I then try to run
> scala
Exception in thread "main" java.lang.VerifyError: (class: scala/tools/nsc/MainGenericRunner$, method: main signature: ([Ljava/lang/String;)V) Can only throw Throwable objects
at scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala)
As soon as I remove the installed jar, it works again.
Cheers,
Manohar
just wanted to verify if other people have this bug (or whether it has already been seen in this variant) :
I go the $SCALA_HOME/bin folder, and type
> sbaz install scala-android
which it duly does (I have a new jar in the lib folder)
I then try to run
> scala
Exception in thread "main" java.lang.VerifyError: (class: scala/tools/nsc/MainGenericRunner$, method: main signature: ([Ljava/lang/String;)V) Can only throw Throwable objects
at scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala)
As soon as I remove the installed jar, it works again.
Cheers,
Manohar
Hey Manohar,
I've got Scala working on Android through eclipse and have prepared a guide
http://www.novoda.com/blog/ as I was facing the same problem you were.
Regards,
Akshay
Manohar Jonnalagedda wrote:
>
> Hello all,
>
> just wanted to verify if other people have this bug (or whether it has
> already been seen in this variant) :
>
> I go the $SCALA_HOME/bin folder, and type
>
>> sbaz install scala-android
>
> which it duly does (I have a new jar in the lib folder)
>
> I then try to run
>
>> scala
> Exception in thread "main" java.lang.VerifyError: (class:
> scala/tools/nsc/MainGenericRunner$, method: main signature:
> ([Ljava/lang/String;)V) Can only throw Throwable objects
> at scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala)
>
> As soon as I remove the installed jar, it works again.
>
> Cheers,
> Manohar
>
>