I have a folder name called configurator which has many sub folders and class files. I need to create a configurator.jar
file of this folder using eclipse.
I followed below steps to create jar file.
- create a java project
- right click on project name, go to properties, go to java build path, click on source --> link source, browse and select configurator folder, add required external libraries --> click ok.
- Now, I am able to see the folder structure in navigator. Right click on configurator folder and select export
- select jar file and save the jar file in specified folder.
But, after saving the jar file, i am not able to see the class files inside the jar.
My question is: Why the class files not exported into the jar? How to do it using eclipse?