notquiteamonad
notquiteamonad

Reputation: 1169

Distributing a Java Swing App on Windows

I've written a Java Swing Program using the Eclipse IDE and I would like to distribute it as a .exe on windows. It has three classes in it and imports from java.awt, java.awt.event, java.io, java.net, javax.swing and javax.swing.filechooser. All of the files are in a package called "notes". It doesn't import any other JARs.

How would I go about converting this into a .exe and what would the .exe need to be distributed with (e.g. class files etc.).

Upvotes: 1

Views: 487

Answers (1)

DRH1469
DRH1469

Reputation: 91

Try using a packager like launch4j or something.

launch4j: http://launch4j.sourceforge.net/

Upvotes: 1

Related Questions