Hi, Thank you very much. Actually, I am very newbie, so please help me how to do that clearly. Thank in advances, Binh
On Tue, Feb 21, 2012 at 5:29 PM, Ignazio Palmisano < [email protected]> wrote: > On 21 February 2012 15:45, Tran Thai Binh <[email protected]> wrote: > > Hi all, > > I create an java file with Eclipse, it run perfectly within Eclipse, but > > when I create an executable file (jar file) and run it with command line > an > > error occurs > > > > Your runnable jar is not including all the needed jars in the > classpath. In Eclipse, you can export a running configurationa nd > choose to export the needed libraries as well. > HTH, > I. > > > Exception in thread "main" java.lang.NoClassDefFoundError: > > com/hp/hpl/jena/rdf/model/Model > > Caused by: java.lang.ClassNotFoundException: > com.hp.hpl.jena.rdf.model.Model > > 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:306) > > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > > Could not find the main class: finish.windowBuilder. Program will exit. > > > > Please help me to solve this error. > > > > Best wishes, > > Binh > > > > -- > > Trần Thái Bình > > GIS and Remote Sensing > > [email protected] > > [email protected] > > Phone: (848) 38247360 > > mobile: > > - Việt Nam - > -- Trần Thái Bình GIS and Remote Sensing [email protected] [email protected] Phone: (848) 38247360 mobile: - Việt Nam -
