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 are the types of constructer explain with example
What is use of jpa?
Explain working of java virtual machine (jvm)?
What is lazy loading in jpa?
What is jdk for netbeans ide?
How to reverse the singly linked list(In Node data members are(int data,int pointerTONext))
How long can a lambda function run?
What is a dao layer in java?
What is an api in java?
Can we install jre without jdk?
Which method is used to create the daemon thread?
What is the java virtual machine (jvm)?