Jar-jar issue

When I execute the application in jidea ide it runs fine. But when I double click on the jar file, it shows gui fine, then I click on the button which should create some objects, but only some objects created in this action call that are not called by some constructors. But when done ideally, all constructors are called !!!

What is the reason for this behavior? what would i do to solve this different behavior?

0


a source to share


1 answer


You are probably missing some of the classes in the created jar. Check your IDE classpath and compare with your system class. Any differences between the two should be included in your jar (or you jar-classpath).



+2


a source







All Articles