how to create jar file in java

Recommended Answers

All 3 Replies

using jar command or if you are using IDE , the IDE automatically creates jar file once you run your application.

If youn want to write a java program that creates a jar file, see the JarOutputStream and JarEntry classes.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.