Feb 21, 2012

Creating JAR File using Eclipse IDE

Jar is a collection of ally your class files.IDE makes your work  simpler than ever. Eclipse IDE whichs been commonly used by almost all the JAVA Developers, supports the funtionality to create a jar file from your project.

Steps:

  •   Right Click your project, you will be getting an option called export, click on that 
  • Now you will be getting an window, to select Java/ Jar File  
  • Now click Next, there you mention the name of Jar File and location where you want the files to be generated.
  • Click Finish , the Jar file will be generated @ that location. To execute the Jar file , open command prompt and type  "java -jar  "

No comments:

Post a Comment

Post a Comment

Note: Only a member of this blog may post a comment.