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



i have make jar file but when i click in this file then arr swhow "no faund main class" ..

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

Post New Answer

More Java Related AllOther Interview Questions

What are messages in java?

1 Answers  


What is the locale class?

0 Answers  


what is jdbc?

6 Answers   Cap Gemini,


Why oracle type 4 driver is named as oracle thin driver?

1 Answers  


What is persistence xml in java?

1 Answers  


Where is java installed?

1 Answers  


How do I open the java control panel?

1 Answers  


What is an entity in java?

1 Answers  


What is lambda expression in mvc?

1 Answers  


What is jpa implementation?

1 Answers  


What is the difference between lambdas and delegates?

1 Answers  


What if the main method is declared as private?

1 Answers  


Categories