From: Leo I. <leo...@gm...> - 2010-09-20 20:55:07
|
In the manifest file, packages are supposed to be separated by dots (.) not slashes (/). On Mon, Sep 20, 2010 at 4:47 AM, Panayotis Katsaloulis < pan...@pa...> wrote: > On 19 Σεπ 2010, at 7:33 μ.μ., Ben Kirk wrote: > > > Hi, > > > > This is probably the most inane question you've been asked, but how do > > you run the example apps purely with java? > > > > I was able to compile XMLVM with ant, and run the examples from within > > Eclipse, I can even run xmlvm (using java -jar xmlvm) perfectly fine, > > but when running the examples I get the following error: > > > > D:\Users\Ben\workspace\xmlvm\dist\demo\iphone\ifireworks\java>java -jar > > ifireworks.jar > > Exception in thread "main" java.lang.NoClassDefFoundError: > > org/xmlvm/demo/ifireworks/Main > > Caused by: java.lang.ClassNotFoundException: > org.xmlvm.demo.ifireworks.Main > > at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > > at java.security.AccessController.doPrivileged(Native Method) > > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:307) > > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > > Could not find the main class: org.xmlvm.demo.ifireworks.Main. Program > > will exit. > > > > I couldn't really find anything in the manual (and it just says to use > > java -jar). I'm obviously missing something fundamental. > > > > I'd be thankful for any help. > > > > Regards, > > Ben > > > I suspect it has to do with windows path separator "\" > Unfortunately I can't help you more than that :( > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |