From: Wolfgang K. <wol...@xm...> - 2009-10-03 14:16:49
|
Pasquale, yes - you're right. As you already figured out: There also have to be some png files in the root of your classpath. These are battery.png, chassis.png and wifi.png, which can be found in the project's var/iphone subfolder. If you run the ant script provided by xmlvm there are a couple of sample apps being build by the build script. Especially the demos in the dist/demo/iphone subfolder show how to set your classpath correctly. And finally one last thing: Please post future questions to our mailing list at xml...@li.... -- Wolfgang On Thu, Oct 1, 2009 at 3:20 PM, Pasquale Di Rienzo <pa...@ya...> wrote: > Hi,I'm trying xmlvm for the first time but I can't get it to work(I want to > develop an Iphone application using java). > I use eclipse as IDE and I did this: > 1)I build xmlvm using ant. > 2)From dist directory I added to my project the objc-compat.jar. > 3)I made the exemple of the documentation (Hello Worlds). > 4)I got these exceptions: > java.lang.NoClassDefFoundError: org/lwjgl/LWJGLException > at > org.xmlvm.iphone.internal.SimulatorGUI.addDevice(SimulatorGUI.java:37) > at org.xmlvm.iphone.internal.SimulatorGUI.<init>(SimulatorGUI.java:28) > at > org.xmlvm.iphone.internal.SimulatorDesktop.<init>(SimulatorDesktop.java:54) > at org.xmlvm.iphone.UIApplication.<init>(UIApplication.java:19) > .... > > Could you help me out please?Tutorial is not very exaustive...thanks you in > advance. > Greetings > Pasquale > > |