Combining JAR files to one JAR from IDE NetBeans
Actually I am gonna demonstrate the simple way to create the jar file which is a combination of multiple jars’ .
Requirements:
- Firstly We need the NetBeans
- JDK 1.6
Here we’ll create a sample Project which is included in NetBeans.
I used NetBeans 6.7.1 and now i am starting my demonstration.
(Also you can create a project where there is presence of jar files)
Let’s make a project File>New Project> …. and as your requirement you can make a project but there
is need of some extra jar files . If you are not familiar with adding jar files to Projects then ,
Please refer this:
Now you are able to attach jar files in Project.
It’s time time to have some trick now, just choose Files Tab in Project Window or just press Ctrl+2 as shown in figure