yes, JWS is a best option...
find details here,
http://java.sun.com/produc
Main Topics
Browse All TopicsHello,
Do you know if i can make a jar file to an installer (for windows), including inside and the virtual machine if it is not installed into a pc, to be installed automatically?
Thank you
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
yes, JWS is a best option...
find details here,
http://java.sun.com/produc
JSmooth
http://jsmooth.sourceforge
wraps your .jars into a "standard" windows .exe executables; the wrapper searches for all Java runtimes on your machine and knows how to pass on parameters and how to set up the memory configuration and how to manage version constraints and much more. when the user clicks on the .exe, the wrapper looks up the most suitable Java runtime installed on your machine to kick off the java app; if no Java runtime is found, the wrapper pops up a dialog box to let you know and directs you to a web site to grab a Java runtime; licensed under the GNU General Public License (GPL)
jStart32
http://jstart32.sourceforg
wraps your .jars into "standard" win32 executables; includes a configurations tool; both tools are written in Delphi 7; licensed under the GNU General Public License (GPL)
Roxes Ant Task Suite
http://www.roxes.com/produ
The <sfx> task creates self-extracting executables out of zip archives for Windows, Mac OS X or Unix The <jstub> task creates highly configurable executables wrappers for Windows, Mac OS X or Unix; licensed under the GNU General Public License (GPL)
And there's this:
http://www.advancedinstall
It handles VM detection and installation, but it's not free.
Business Accounts
Answer for Membership
by: CEHJPosted on 2008-03-12 at 11:48:04ID: 21109378
You can distribute it with Java Web Start - if there's no VM \, it will auto-install