How to create and execute JAR file in Java – Command line Eclipse Netbeans Example
Creating JAR file in java from the command prompt is always been little tricky for many of us even if IDE like Netbeans and Eclipse provide support to export java program as JAR file simply because we don’t create jar often and not familiar with manifest file or jar command as a whole. JAR file in Java is a kind of zip file that holds all contents of a Java application including Class files, resources such as images, sound files, and optional Manifest files. JAR stands for Java Archive and provides a platform-independent deliverable for java programs, libraries and frameworks. you can execute the same jar file in any operating system e.g. Windows 7, Windows 8, Macintosh, or Linux.
تعليقات
إرسال تعليق