Excuse my english
I have the following problem:
I have a proyect created, when a try to open the .jar file (created for the accion of build of my
IDE (Using NetBean)), I get this message from
JAVA VIRTUAL MACHINE LUNCHER : "could not find the main class, program will exit", but the proyect it does have the main class of the proyect set, the thing that confuse me , is that Apparently the error is cause by a line of code that is in a Action performed event of a button, the line belong to the jasper report, and is the one that is use for loading the xml design file: "JasperDisign jasperdisigh = JRXmlLoader.load("C:/Reporte1.jrxml");", but how can this generate error if the events has not been fire, the only thing that come to my mind is, that there is some file o library that I have to put in some place,
When I take out the line that load the xml everything run just fine.
Note: this not happen in the IDE , in here I have no error , no exception , the form that is as main has not deprecated Api, and every run just fine.
I don�t know what to do, I going crazy
, I have like 2 weeks with this error.
[ March 03, 2005: Message edited by: fernando mendez ]