Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to create exe on windows to run a Swing programm

 
nishant vats
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually i have developed calculator using swings..now i want to develop exe so that it can be directly run from desktop...anybody can help me out..
thanks in advance
 
mridul makkar
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To make a executable class file u need some Third party tool....well otherwise u can create executable Jar file very easily.
 
Martina Renworth
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by nish vats:
Actually i have developed calculator using swings..now i want to develop exe so that it can be directly run from desktop...anybody can help me out..
thanks in advance

Check out JSmooth
 
Vijay Sharma
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Nish,
I think don't go for exe.Make a batch file,and write ur file name there which all u want to execute.
Just click on ur batch file that works fine.I m suggesting what i have used.
Bye.
 
Pradeep Kadambar
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nish,

For your application, a tool something simple like Java Launcher is the better option. It is simple to use with option to create a Windows executable or an executable jar, Option to change the icon etc.

 
Lionel Badiou
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Nish,

To my point of view, just few java applications really need to be converted to an executable. If an application had really required to be a 'real' executable, one should have take the decision during design time... and switch to C++ or other compiled languages developement.

Most of newcomers to java actually ask for a way to make their java application look like native (mostly windows) ones. This can be achieve to a point by java launchers or smart installers.

So, may I suggest you to check theses launchers:

- http://www.syncedit.com/download_javalauncher.html
- http://www.duckware.com/jexepack/index.html
- http://www.rolemaker.dk/nonRoleMaker/javalauncher/marner_java_launcher.htm

or to use this free smart installer
Best regards,
 
Tanveer Rameez
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would suggest making it an executable jar or use Java Web Start. Java Web Start enables automatic upgrading of the program when a new version is loaded in the server/source web site.
[ February 15, 2005: Message edited by: Tanveer Rameez ]
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic