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

What is the difference between method and constructor ?

3 Answers  


Explain about procedural programming language or structured programming language and its features?

0 Answers  


How to perform binary search in java?

0 Answers  


Which sorting algorithm is best in java?

0 Answers  


What is the minimum and maximum length of an identifier?

6 Answers   TCS,






What is dynamic dispatch in java?

4 Answers  


Explain about sets?

0 Answers  


What is the difference between heap memory and stack memory?

0 Answers   Aspiring Minds,


5 Coding best practices you learned in java?

0 Answers  


What is a lightweight component?

0 Answers  


List out benefits of object oriented programming language?

0 Answers  


Compare java and python.

0 Answers  


Categories