[JAVA] What is a jar file?

I am a java beginner. This time I will write an overview of the jar file.

Q1: What is a jar file?

A jar file is a convenient item that combines multiple java classes and packages into a single file.

Q2: What's inside the jar file?

As I wrote above, the classes and packages are put together in one file, so the contents contain useful functions that can be used in development. Basically, it seems that you make the jar file yourself. Therefore, I think that the contents will be packed with the functions that I think I need. ** How to make a jar file **

Q3: Where do you place the jar file?

Basically, it is automatically generated when creating a java project, I think it will be created in [WebContent / WEB-INF / ** lib **].

Recommended articles about jar files

** Recommended article **

If you find something wrong, please let us know in the comments. I would like to update the contents from time to time.

Recommended Posts

What is a jar file?
What is a Spring Boot .original file?
What is a constructor?
What is a stream
What is a Servlet?
What is a wrapper class?
What is a boolean type?
What is a Ruby module?
What is a floating point?
What is a meaningful comment?
What is a Java collection?
What is a lambda expression?
What is a fa⁉ enum?
What is a snippet in programming?
What is a column Boolean type?
What is a reference type variable?
What is a lambda expression (Java)
[Swift] What is "inheriting a class"?
What is a Ruby 2D array?
What is Cubby
What is Docker?
What is a class in Java language (3 /?)
What is a terminal? -Absolute path & relative path-
Create a jar file with the command
What is java
What is maven?
What is Jackson?
[For programming beginners] What is a method?
What is Docker
What is self
What is Jenkins
What is ArgumentMatcher?
What is IM-Juggling?
What is a class in Java language (1 /?)
What is params
What is SLF4J?
What is a class in Java language (2 /?)
What is Facade? ??
What is Java <>?
What is Gradle?
What is POJO
What is Java
What is centOS
What is RubyGem?
[Rails] What is a dot (.) Or a colon (:)?
What is programming?
What is before_action?
What is Docker
What is a request scope? Image commentary
What is Byte?
What is Tomcat
What is Maven Assembly?
What to do when you want to delete a migration file that is "NO FILE"
What is `docker-compose up`?
What is vue cli
What is an interface?
What is Ruby's self?
What is hard coding?
What is Ruby's attr_accessor?
What is permission denied?
What is instance control?