E Tepp wrote:
> Hello Everyone,
>
> I would like to know if it is possible to compile a java program, that
> I have written, into an exe file for window and does not require a
> virtual machine to run. I know I would only be able to run the program
> on a windows platform but that would be fine.
Yep, it's possible. Not necessarily free. Two good products that do it
are "Excelsior Jet" and "Instantiations JOVE", and a Google search
should turn up web sites for both.
On Linux, there's also gcj, which is free but less full-featured. I'm
not aware of free products to do this on Windows.
> If this is not possible, does anyone know if it is legal to freely
> distribute java virtaul machine with a program that is intended for
> resale?
Yes, of course it's possible. People do it every day. There are some
restrictions (for example, you can only distribute the JRE, not the
whole SDK; and if you install the JVM silently, you have to arrange for
the user to agree to Sun's license terms and conditions first.). If you
don't understand something about the license, you should of course have
your attorney look it over first.
--
www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation