|
Hello help, I am Trying to Stream music from my PC to the Emulator (WM6-Professional) and the following error is coming out during Debugging. Exception in thread "Thread-9" java.lang.NoClassDefFoundError: javax.microedition.media.Manager (initialization failure) PlaySound Class which implements runnable looks like this: public class Playsound implements runnable{ public Player player; public void run() { InputStream in = getClass().getResourceAsStream("C:/ding.wav"); if (in != null) { System.out.println ("Streaming ok "); player = Manager.createPlayer(in, "audio/x-wav"); player.start(); } else {System.out.println("No Streaming");} } catch (Exception e) { // TODO: handle exception } } } Best regards, Christopher
|