i have make jar file but when i click in this file then arr
swhow "no faund main class" plese help me in this problem
becose i want to make a jar file as a dxdcutable file
Answer / avi s
You must define the Main class in the Manifest.MF file
When you package the jar file use the Manifest you created
and do not use the default generation of manifest file.
see jar command help.
| Is This Answer Correct ? | 3 Yes | 1 No |
What are messages in java?
What is the locale class?
what is jdbc?
Why oracle type 4 driver is named as oracle thin driver?
What is persistence xml in java?
Where is java installed?
How do I open the java control panel?
What is an entity in java?
What is lambda expression in mvc?
What is jpa implementation?
What is the difference between lambdas and delegates?
What if the main method is declared as private?