Export JAR with Netbeans
问题 How to export java project to JAR with Netbeans ? I cannot find options like in Eclipse. 回答1: You need to enable the option Project Properties -> Build -> Packaging -> Build JAR after compiling (but this is enabled by default) 回答2: Do you mean compile it to JAR? NetBeans does that automatically, just do "clean and build" and look in the "dist" subdirectory of your project. There will be the JAR with "lib" folder containing the required libraries. These JAR + lib are enough to run the