Reputation: 8401
I have written a program in java, and I am able to execute it as a jar file. I was wondering two things. one, how would I make the .jar file have a desktop icon other than the standard java icon. and two, I am using netbeans, how would I create a .exe file instead of a .jar file?
Upvotes: 1
Views: 1768
Reputation: 168845
If your app. has a GUI and can be distributed from a server, look into Java Web Start.
JWS:
Upvotes: 2
Reputation: 9666
Like Kitsune said, you can make an executable file. The Java packager I'm most familiar with is Launch4J. It's highly configurable and can be called from Ant scripts, so it can easily integrate into an existing Ant-based build process.
Upvotes: 2
Reputation: 12901
You don't If you want an exe with an icon to auto-launch a jar file for you, take a look at WinRun4j.
Upvotes: 1