Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Java with EXE and Virtual Machine

Reply
Thread Tools

Java with EXE and Virtual Machine

 
 
E Tepp
Guest
Posts: n/a
 
      12-06-2003
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.

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?

Thank You,
Elliott
 
Reply With Quote
 
 
 
 
Chris Smith
Guest
Posts: n/a
 
      12-06-2003
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
 
Reply With Quote
 
 
 
 
LDV
Guest
Posts: n/a
 
      12-07-2003
Chris Smith <> wrote in message news:<>...
> 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.

>
> Two good products that do it are "Excelsior Jet" and "Instantiations JOVE",
> and a Google search should turn up web sites for both.


JOVE is discontinued, and its Web page suggests considering JET as an
alternative:

http://www.instantiations.com/jove/

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


Excelsior JET, Personal Edition is free for private non-commercial use
(i.e. you cannot distribute the compiled program, but only run it on
your own system, so that product looks more like a Java accelerator
actually.)

It should be possible to run GCJ on Windows under CygWin.

LDV
 
Reply With Quote
 
E Tepp
Guest
Posts: n/a
 
      12-08-2003
(LDV) wrote in message news:<. com>...
> Chris Smith <> wrote in message news:<>...
> > 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.

> >
> > Two good products that do it are "Excelsior Jet" and "Instantiations JOVE",
> > and a Google search should turn up web sites for both.

>
> JOVE is discontinued, and its Web page suggests considering JET as an
> alternative:
>
> http://www.instantiations.com/jove/
>
> > 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.

>
> Excelsior JET, Personal Edition is free for private non-commercial use
> (i.e. you cannot distribute the compiled program, but only run it on
> your own system, so that product looks more like a Java accelerator
> actually.)
>
> It should be possible to run GCJ on Windows under CygWin.
>
> LDV


Thanks everyone. This has been very helpful.

Regards,
E
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile a lisp code and execute into a Java Virtual Machine Santiago Carbonell Java 5 12-18-2011 06:57 AM
Force java applet to run on java microsoft virtual machine plugin and not Sun. emaxt6@yahoo.com Java 4 05-09-2005 03:54 PM
Auto-attach to process '[1084] aspnet_wp.exe' on machine <Machine =?Utf-8?B?UmVzaG1hIFByYWJodQ==?= ASP .Net 0 01-21-2005 05:33 AM
SableVM 1.1.7 (Free Java Virtual Machine) released Grzegorz B. Prokopski Java 0 11-23-2004 08:50 AM



Advertisments