how to create a jar file in java



how to create a jar file in java..

Answer / rukumani khandhan

Java Archive (JAR) files are compressed files into which
you can store many files.
To create a JAR file, go to the directory where your files
are located and type:

jar -cf <jarfilename>.jar *.*

Is This Answer Correct ?    14 Yes 1 No

Post New Answer

More Core Java Interview Questions

Can an arraylist be empty?

0 Answers  


What are Normalization Rules? Define Normalization?

0 Answers  


Which containers use a flowlayout as their default layout in java programming?

0 Answers  


In which JDK version event-delegation model is introduced?

1 Answers  


What is a constructor overloading in java?

0 Answers  


How we can execute any code even before main method?

0 Answers  


Can I uninstall java?

0 Answers  


Explain wrapper classes in java?

0 Answers  


What is core java called?

0 Answers  


What is the use of bufferedreader?

0 Answers  


What are the restriction imposed on a static method or a static block of code?

0 Answers  


Is java code slower than native code?

0 Answers  


Categories