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
What is lsdou? : java security
What is a static method?
Why is javac not recognized?
Explain working of java virtual machine (jvm)?
Why there are no global variables in java?
Why do we create dto in java?
What is war file in java?
What is an actionevent in java?
What is transactional in java?
How do you run an executable jar file?
What is meant by annotation in java?
What is the resourcebundle class?
What is native class in java?
Who created eclipse?
What is adoptopenjdk?