-3

Possible Duplicate:
How can I convert my Java program to an .exe file?

How can i create Exe file for java program. Do i need to install any software for it, And how to add Icon to that exe file.

Community
  • 1
  • 1
John D
  • 113
  • 3
  • 5
  • 15
  • 8
    http://www.google.co.uk/search?q=create+a+java+exe 13 million hits. – Peter Lawrey Aug 12 '11 at 10:24
  • Gosh, I wonder why this has never been asked before. – Hovercraft Full Of Eels Aug 12 '11 at 10:33
  • Mentioned at least once on the duplicate thread (by TRA) but just reiterating that [Java Web Start](http://stackoverflow.com/tags/java-web-start/info) can do this. JWS supports desktop shortcuts and menu items with icons, and works on platforms for which Java is supplied (e.g. Win., Mac. *nix etc.). – Andrew Thompson Aug 12 '11 at 11:00

3 Answers3

0

Use known tools: JSmooth, LaunchAnywhere, JexePack

lukastymo
  • 26,145
  • 14
  • 53
  • 66
0

You can but this wouldnt be a real EXE, you will still need to install the JVM to run your app. try jstart32.

asgs
  • 3,928
  • 6
  • 39
  • 54
CloudyMarble
  • 36,908
  • 70
  • 97
  • 130
0

It's difficult. JDK could not do that, you need a third tool to do that. please refer http://www.duckware.com/jexepack/index.html.

Why do you need to do that? maybe you should use c#/vb to program.

ControlPower
  • 610
  • 4
  • 7