This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I am executing swing application as a jar file from my web application. I have a link on a web page which is calling jnlp file from my server. In this jnlp file i am calling the jar file. Up to this it is working very well. In this jar file i have a class, in which i am calling another class's main() method, on clicking a button like following:
Here i am getting the problem, this main() is not being called up. I am getting no exception or err on the console.
One more thing when i executing this jar file alone; not from the web application , its calling the main() method.
I am not getting what is the problem. All classes are in the same package. If any body has any idea help me.
Thanks and Regards.
Joined: Oct 03, 2007
even i an trying to load the that class by classloader like:
Hi, Thanks for reply. If i try to call another class constructor on that place then it works. But i am getting problem when i try to call main() for that specific class. Is it mean that there is some problem with my child class to whom i am calling? But then it also should not open when i try to run jar file alone. Regards.