Java Archive (JAR) files are compressed files into which you can store many files. If you place the many classes that your application, or applet need in a JAR file, you reduce the size of your distributabels.
To create a JAR file, go to the directory where your files are located and type: jar -cf test.jar *.* Thank you Khirod On Wed, Aug 18, 2010 at 6:46 PM, Narendra Sisodiya < [email protected]> wrote: > > > On Wed, Aug 18, 2010 at 5:01 PM, sandeep kumar < > [email protected]> wrote: > >> what is the command to create a jar file from the java class files in >> a subdirectory on my home >> i tried jar cfe as mentioned in man pages and it creates the jar files >> with out errors but running it shows that it cant find the main class >> thanks > > > Jar files are also zip files. simply zip will work. > > -- > l...@iitd - http://tinyurl.com/ycueutm > -- Thanks & Regards Khirod Chandra Patra Direct Tel:9310041055 Email:[email protected] <email%[email protected]> skype:khirod.patra -- l...@iitd - http://tinyurl.com/ycueutm
