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 Posted / 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 View All Answers
How do you create a jar file?
What is the use of flatmap?
What is reflection in java?
What is the meaning of the words public, static and void?
What is injection in java?
Which instutute is offering course for rhino jain slee
What does el mean in java?
What is a java executable jar file?
What is an actionevent in java?
What is ioexception in java?
What is microservices java?
What is java flatmap?
How long can a lambda function run?
What is tuple2?
What java systems libraries and methods are available for me to use?