Share on Google+Share on Google+

vikas pandey
How to run java swing application from jar files .
1 Answer(s)      4 years and 8 months ago
Posted in : Swing AWT

Hello Sir, I developed a java swing application .Now i want to execute it as .exe setup file .As per my knowledge i have to run .jar file from dist folder of netbeans but when i am trying to run from there i am getting error "Could not find the main class program will exit" from "java virtual machine".

Plz help me to complete this work . thank you Sir.

Ads

View Answers

September 25, 2012 at 10:16 AM


vikas set the main class in your project right click on project go to properties and run browse there for main class and rebuild the application after it when you will the jar file in dist that will surely run










Related Tutorials/Questions & Answers:
How to run java swing application from jar files .
How to run java swing application from jar files .  Hello Sir, I developed a java swing application .Now i want to execute it as .exe setup file .As per my knowledge i have to run .jar file from dist folder
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
Advertisements
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application  After auto updating a new version of jar from server. I want to delete the old jar from mobile... the code how to do that in my application in j2me for lwuit applications. Thanks
Tutorials   
Java Spring Hibernate Struts Training Change JPanel background color from mouse entered/exit event JTable Pagination Jcombobox JAVA SWING how can i display a pdf file in a jtextarea Crop Image Code in Applet Crop Image Code in Applet Image Manipulation in Swing AWT Applet Ho to get virtual key code. how to show set of images continously using JScrollpane in java how to show set of images continously using JScrollpane in java How to connect on screen keyboard to system. How to connect on screen keyboard to system. query java client server program for playing video file(stored in folder in the same workspace) using swings java client server program for playing video file(stored in folder in the same workspace) using swings java client server program for playing video file(stored in folder in the same workspace) using swings java client server program for playing video file(stored in folder in the same workspace) using swings Download. how to open one Jframe from main method call Urgent requirement display shapes i am getting an error in adding a menu item to a menu. I am trying to develop a Image Sliding application but unfortunately its not working... Can any one help me in this Sliding window protocol how to update the value of jslider how to update the value of jslider how to update the value of jslider how to update the value of jslider how to update the value of jslider Jbutton in JTable cells program code java textfield problem swing retrieve data from database in java swing form using prev n next buttons retrieve data from database in java swing form using prev n next buttons How to close a frame on action event of a button from a different class ? searching the data swings for webnms Jpanel allignment pass data from java frame to file code for traffic control system simulation Bank Management System how to maKE Jcombox editable after saveing value init. i havei) aJTextField and one button. when place the cursor or enter anything in the test field then only button should be enabled.by default the button should be disabled. i havei) a jtable with few cloumns and few rows andii) one button. when place the cursor in any of the table's column cell. i need to enable the button.by default the button should be disabled. PDF Comparator i have JTextfield and JComboBox. there are several values in combobox.when i select a value from combobox how to make textfiled as a combobox. issue on jcombobox

Ads

 
Advertisement null

Ads