running scalafx application on linux

75 views
Skip to first unread message

devidatta mohapatra

unread,
May 19, 2015, 6:52:58 AM5/19/15
to scala...@googlegroups.com
hello everyone

i am currently using scalafx in my project. it is running fine on my windows machine. after creating one-jar through sbt also the app runs fine from the jar. but while i am transferring that jar to my linux machine(raspberry pi) the app is not running and giving exception:noclassdeffoundException:javafx/scene/media/MediaException . 

first i thought there is some problem with my code. but then i tried several scalafx samples on my pi. all of them failed giving the same exception. but several javafx samples are running fine on my pi(linux machine). on the linux machine java 1.8 is there and it supports javafx application. i have no idea why scalafx applications are failing on that. please guide me if i am missing somthing obvious. any kind of answer is welcome. please reply .

thanks in advance.

with regards
devidatta 

haley min

unread,
Sep 17, 2015, 10:11:09 AM9/17/15
to ScalaFX Developers
Hi, 
  In my opinion, JavaFX binary for ARM processor in raspberry pi does not include Media support so you have  the error. 

Best Regard,
Haley
Reply all
Reply to author
Forward
0 new messages