aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes how to create exe on windows to run a Swing programm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to create exe on windows to run a Swing programm" Watch "how to create exe on windows to run a Swing programm" New topic
Author

how to create exe on windows to run a Swing programm

nishant vats
Greenhorn

Joined: Feb 11, 2005
Posts: 23
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

Joined: Feb 15, 2005
Posts: 14
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

Joined: Feb 14, 2005
Posts: 5
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

Joined: Feb 02, 2005
Posts: 32
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.


Vijay Sharma
Pradeep Kadambar
Ranch Hand

Joined: Oct 18, 2004
Posts: 148
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

Joined: Jan 06, 2005
Posts: 140
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,


Lionel Badiou
CodeFutures Software
Tanveer Rameez
Ranch Hand

Joined: Dec 11, 2000
Posts: 158
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 ]

Author of JPhotoBrush Pro (www.jphotobrushpro.com)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to create exe on windows to run a Swing programm