java - Application only works in Eclipse -
i'm doing college project using java , eclipse. app works in eclipse, when export runnable java file doesn't work. no error shown, , nothing opened.
do have tutorial how export correctly? application long post here. however, if need see part of code ask.
edit : error returned console
exception in thread "main" java.lang.reflect.invocationtargetexception @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(unknown source) @ sun.reflect.delegatingmethodaccessorimpl.invoke(unknown source) @ java.lang.reflect.method.invoke(unknown source) @ org.eclipse.jdt.internal.jarinjarloader.jarrsrcloader.main(jarrsrcloa der.java:58) caused by: java.lang.classcastexception: sun.net.www.protocol.jar.jarurlconnecti on$jarurlinputstream cannot cast java.io.bufferedinputstream
here 1 article on jar creation , execution http://javarevisited.blogspot.in/2012/03/how-to-create-and-execute-jar-file-in.html
Comments
Post a Comment