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
differences between iterator and spliterator in java se 8?
What do you understand by casting in java language? What are the types of casting?
What is flatmap in rxjs?
What is java lang exceptionininitializererror?
Spring framework ---Can somebody explain me in easily understandable format about AOP, IOC and DI, so that i can explain in interview rather than just telling what is available in net. I am not able to understand that also. I am new to Spring
Can I use openjdk for commercial?
What is an api in java?
What is cookie in java?
What are struts java?
What are tags in java?
How do I enable javascript?
If you’re overriding the method equals() of an object, which other method you might also consider?
What about javascript? : java security
What is a cookie in java?
What are the differences between java’s old java date api and java 8’s date and time api?