• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

how to create exe on windows to run a Swing programm  RSS feed

 
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
 
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.
 
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
 
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.
 
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.

 
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,
 
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 ]
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!