I am using netbeans 7.1 (new to it). I would like to know how to export our projects as a .jar
file (though I have searched a lot in Internet).
Many times ./dist
folder itself is not created, even though it is created, I see only .zip files (not jar). It would be great if one can help me out in this aspect. Seems like in earlier version of netbeans, the jar would be available in ./dist
folder.
Do this before search :) (right click the project > Clean and Build)
When you use the Clean and Build command, the IDE runs a build script that performs the following tasks:
There is no difference in Netbeans 7.1, the jar will be in the dist folder :)