Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

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 return used for in java?

0 Answers  

what is ststic with example

0 Answers   Wipro,

Explain the difference between the public, private, final, protected, and default modifiers?

0 Answers  

Can we write a class without main method in java?

0 Answers  

Why do we need to override equals() and hascode() method of object class?

1 Answers   Cognizant,

What are the different types of constructor?

0 Answers  

What are the override methods in Object class?

2 Answers   Tech Mahindra, Wipro,

What is java in layman terms?

0 Answers  

what are the different access specifiers that can be used by interfaces and abstract classes? can anyone give me detailed description on this

11 Answers   IBM, L&T,

what really hapens when a object is created using new operator? it allocates memory to all variables and methods in the class with reference to that object?

3 Answers  

Does collectionutils isempty check for null?

0 Answers  

Can we override private constructor in java?

0 Answers