How to create .jar file in netbeans?
UPDATED: 17 December 2011
Tags:
How to
In single line i can say that; .jar file is collection of compiled .class files. Java is robust language and platform independence. Concept of .jar file came into the picture to support high level of understanding between developers. Develop class(Java Programs) under multiple package and bind into .jar file. Methods can be accessible by creating object of that class. To achieve clarity of any project .jar file provides perfect concept. Below image shows usage of .jar file
Now i'll show you step by step procedure how you can create .jar file in netbeans. Hope all you have basic knowledge of creating project in netbeans.
Usage of .jar file |
- Right click on project and Set as Main Project
![]() |
Set as Main Project |
- Go to Run > Clean and Build Main Project
![]() |
Clean and Build Main Project |
- You have your .jar file. Below image show the location of your .jar file. It'll be displayed in output console.
Thats it you have your .jar file ready to use.
Tags:
How to