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 |
What is a stream in programming?
I get an exception if I remove the static modifier from main?
can a program use more than one command-line argument?
How do I open java console?
What is rxjava2?
How do you run an executable jar file?
How do you create a jar file?
What is scrollable resultset in java?
What happens when the parent process of a child process exits before the child ?
cant we call run() method directly instead of calling indirectly through the start() method ? if we do so then what is the problem ?
Can optional be null?
Does ms edge support java?