D
D
Deiwan2021-04-10 01:43:21
Java
Deiwan, 2021-04-10 01:43:21

How to create jar file from java program?

I tried to create a jar in intelliJ IDEA, but it makes me a package with my program, and an xml file where it’s not clear at all, but I read that jar is like a zip archive, but not xml . How to create a jar, that is, just such an archive that everyone is talking about?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
igneus fireman, 2021-04-10
@Deiwan

Look here

O
Orkhan, 2021-04-10
Hasanly @azerphoenix

Are you using Maven? If so, what is written in pom.xml? In particular, packaging
If there is xml, then change to jar

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question