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
Describe the principles of oops.
What is a stream in java?
Explain working of java virtual machine (jvm)?
What is microservices java?
Which method is used to create the daemon thread?
What is a java executable jar file?
Explain the encapsulation principle.
What is class forname java?
What is a delimiter in java?
what about jdb and javadoc by example ?
What do I need to install netbeans?
What is tuple2?
What is cdi bean in java?
Which type of stream is in java?
What is mq in java?