|
From: <al0...@al...> - 2007-08-12 11:40:21
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> <font size="+3">Hello, i have compiled a simple graphic interface (swing and AWT but jython written) using jythonc, into a jar file, if i execute the command:<br> $ myfile.jar<br> i got a pop-up warning from the jvm launcher:<br> Could not find the main class. Program will exit<br> Could someone help me tu fix this, please?<br> Note: my code contains the sentence <font face="Courier New, Courier, monospace">if __name__=="__main__":<br> </font></font><font size="+3">Thanks.</font><font size="+3"><font face="Courier New, Courier, monospace"><br> </font></font> </body> </html> |