From: Markus N. <mar...@gm...> - 2011-03-02 17:45:57
|
Hi, The easiest way to run the iphone demos is to use the same ant-script you use to build them. Building ihelloworld (e.g. the portrait version): cd [xmlvm_root]/demo/iphone/ihelloworld/portrait ant Running ihelloworld: cd [xmlvm_root]/demo/iphone/ihelloworld/portrait ant run The ant script does a lot of steps in that target to launch the application in the Java iphone emulator. You can take a look at the script and reproduce those steps if you don't want to launch through ant. Regards, Markus On Tue, Mar 1, 2011 at 2:40 PM, aNgIe Benegas <ang...@gm...>wrote: > I have the following exception when I execute a .jar as a Java application: > > *Command:* > D:\Documents and Settings\AngieBe\Desktop\xmlvm2> java -jar "D:\Documents > and > Settings\AngieBe\Desktop\xmlvm2\dist\demo\iphone\ihelloworld\portrait\java\ihelloworld.jar" > > *Exception:* > Exception in thread "main" java.lang.NoSuchMethodError: > org.xmlvm.iphone.UIApplication.main([Ljava/lang/String;Ljava/lang/Class;)V > at org.xmlvm.demo.ihelloworld.portrait.HelloWorld.main(HelloWorld.java:52) > > I have tried with others .jar like iFireWorks and always the same error. > But I can execute *java -jar xmlvm.jar* without errors. > > Can anyone help me please? > -- > *Angie Benegas > Roshka: La vanguardia es así. > Tel: +595 21 204252 Int. 722* > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > |