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 / 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 |
cant we call run() method directly instead of calling indirectly through the start() method ? if we do so then what is the problem ?
What are the differences between java’s old java date api and java 8’s date and time api?
What is a stream in java?
What is the difference between map and flatmap in java?
What is a bean class?
what are the steps in JDBC connectivity..???
Is jdk an ide?
What is lambda used for?
Can I use openjdk for commercial?
what is the use of a super keyword?
what is reflection api? How are they implemented?
What is servlets.