Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Skype4Java via Scala on Mac OS

Tags:

I'm running Mac OS 10.6, Java 1.6_17, Scala 2.8.1 final. I'm attempting to make a simple Skype call using Skype4Java by doing the following:

$>export JAVA_OPTS=-d32

$>scala -classpath .:./skype/release/skype.jar

scala> com.skype.Skype.makeCall("echotest")

I'm getting the error

"invalid attempt to access memory at location 0x0 ... bus error". 

Anybody else experience this and find a solution?

Note: I'm able to use this api perfectly fine by invoking one of the samples when I run it using command line java. Attempting to execute the same sample using command line scala fails with the error above.


Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!