From: Arno P. <ar...@pu...> - 2011-04-12 06:58:29
|
the one-jar version of XMLVM (i.e., running it with xmlvm.jar) doesn't work for some reason (probably has to do with a classpath problem). Please note that if you check out XMLVM under Eclipse, you will find a launch configuration called "XMLVM - iSound". That should work. Arno On 4/9/11 4:46 AM, Raghuram Devarakonda wrote: > > Hi, > > I checked out xmlvm trunk, built it, and tried to run iphone demo > "isound". It didn't work as expected and I saw the following stack trace > on the terminal: > > ---------- > -trigger-java-simulator-task: > [java] Exception in thread "AWT-EventQueue-0" > java.lang.NoClassDefFoundError: > javazoom/jlgui/basicplayer/BasicPlayerException > [java] at > org.xmlvm.demo.isound.ISound.initAudioPlayer(ISound.java:126) > [java] at org.xmlvm.demo.isound.ISound.setupUI(ISound.java:118) > [java] at > org.xmlvm.demo.isound.ISound.applicationDidFinishLaunching(ISound.java:54) > [java] at > org.xmlvm.iphone.UIApplication$1.run(UIApplication.java:142) > [java] at > java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) > [java] at > java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642) > [java] at java.awt.EventQueue.access$000(EventQueue.java:85) > [java] at java.awt.EventQueue$1.run(EventQueue.java:603) > [java] at java.awt.EventQueue$1.run(EventQueue.java:601) > [java] at java.security.AccessController.doPrivileged(Native > Method) > [java] at > java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) > [java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:612) > [java] at > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) > [java] at > java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) > [java] at > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) > [java] at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) > [java] at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) > [java] at > java.awt.EventDispatchThread.run(EventDispatchThread.java:122) > [java] Caused by: java.lang.ClassNotFoundException: > javazoom.jlgui.basicplayer.BasicPlayerException > [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > [java] at java.security.AccessController.doPrivileged(Native > Method) > [java] at > java.net.URLClassLoader.findClass(URLClassLoader.java:190) > [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:307) > [java] at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > [java] ... 18 more > ---------- > > I looked for class BasicPlayerException and it seems to be part of > basicplayer3.0.jar. This class is indeed being found at the build time > so I am guessing that for some reason, it is not making it to the run > time CLASSPATH. Either that or there is something wrong with my setup. > Note that I am able to run ifireworks demo without problems. I am > testing on Ubuntu, BTW. > > Any help is greatly appreciated. > > Thanks, > Raghu > > > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |