Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to convert java application to windows exe

 
Vijay Kumar Raman
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a standalone java application (With a UI screen with login page in Applet and AWT) which i have to distribute to my clients as EXE. The client will simply add the exe in the desktop and on clicking the icon the application should be launched displaying the Login screen. kindly help....
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

If you create an exe you will be tied down to the windoze platform.
Usually, the recommended way is to create an executable jar file. More details at http://download.oracle.com/javase/tutorial/deployment/jar/ The Manifest section will tell you how to create a self executable one.
However, if you still wish for an exe, you can use options like http://jsmooth.sourceforge.net/

I personally prefer the executable jar approach
 
Campbell Ritchie
Sheriff
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have the file associations set, to associate .jar with the Java runtime, you can double-click a .jar and it will be executed.
 
siddhu Math
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok..to answer your question there is a tool (Install Shield) which we used for our application which is built using various components like java,c++ etc ..I do not know if there is any other tool of the same but to be clear this is not a free tool you need to buy it.....

 
Mathew Mintalm
Ranch Hand
Posts: 103
Eclipse IDE Firefox Browser Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use this Useful exe4j aplication.

Also it can create splash screen for your aplication.
 
Stephan van Hulst
Bartender
Pie
Posts: 5590
54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
exe4j and install4j are brilliant tools.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic