Johanna
Johanna

Reputation: 27660

how can we create a jar file for our program?

I work with netbeans,how can I create a jar file for my program? please help me thanks.

Upvotes: 0

Views: 296

Answers (2)

wierob
wierob

Reputation: 4369

If you use the built in project templates NetBeans builds jar files automatically. Just select "Build" from the context menu (right-click your project node) and the jar file will be created inside a "dist" directory in project folder.

Upvotes: 0

JuanZe
JuanZe

Reputation: 8177

Netbeans: Packaging and Deploying Desktop Java Applications (Main Exercise: Creating and Distributing Executable JAR Files)

Upvotes: 1

Related Questions