user1766728
user1766728

Reputation:

How to make a exe for java programs w/ icon

I have made a nice little java file. I'm convinced that I have developed it to the maximum I can code. So, I was thinking, Minecraft is in java, and it has an exe for it, not a shortcut to the jar(That's the way I do it...), so how would I make an exe for my program? Plus, I have an icon, I put it into the bin and ran the program, and it worked. Where would I put it now?

Upvotes: 2

Views: 805

Answers (3)

MadProgrammer
MadProgrammer

Reputation: 347314

Personally, I use exe4j, it's not free but it will do what you want.

Most executable of this nature are just some kind of wrapper that calls Java on your behalf.

Upvotes: 0

Ian Roberts
Ian Roberts

Reputation: 122394

Take a look at Launch4J, that's what I use to make an .exe out of my Java .jar installers.

Upvotes: 1

lildigiman
lildigiman

Reputation: 137

I've done this before and it isn't very effective. But here's a good place to start to figure it out for yourself: http://www.excelsior-usa.com/articles/java-to-exe.html

Upvotes: 2

Related Questions