i have following code of java, how to create jar file because when i create jar file its show me error please help me , jarfile name and folder same as i enter in zip please convert only zip to jar. i was convert zip to jar but my jar file does not run. thats why i am here
Asked
Active
Viewed 173 times
-1
-
create a zip file, adding the contents of the cli directory and rename the file from .zip to .jar – Anthony Staunton Aug 18 '16 at 13:56
-
i am dotnet developer i try and convert zip to jar but my jarfile does not run – Addi Khan Aug 18 '16 at 13:59
1 Answers
2
If you are using netbeans IDE then right click on the project name go to properties->build->packaging.
check build jar after compiling option and ok. then click on clean and build project.
You will find your jar file in the dist folder.
EDIT: if you are using Eclipse IDE check this post. how to create jar file using eclipse

Community
- 1
- 1

MD. Khairul Basar
- 4,976
- 14
- 41
- 59