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 is java lang exceptionininitializererror?

0 Answers  


Employee has a Passport. here employee is an object and passport is an object, give the class design

3 Answers  


What are tlds in java?

0 Answers  


Are streams faster than for loops?

0 Answers  


Is lambda cheaper than ec2?

0 Answers  


What happens if javac is not recognized?

0 Answers  


What is lambda expression in mvc?

0 Answers  


Which is more secure: java or activex? : java security

0 Answers  


can a program use more than one command-line argument?

0 Answers  


What is lsdou? : java security

0 Answers  


Explain about the Physical Data Model?

1 Answers   HCL,


What is scrollable resultset in java?

0 Answers  


Categories