Hi
I want to run a java program as an exe in windows the windows box doesnt install java at all...
So, is there any other way in which the java program can be converted to exe which takes of this JRE dependencies etc???
Thanks Shiv
Hi
I want to run a java program as an exe in windows the windows box doesnt install java at all...
So, is there any other way in which the java program can be converted to exe which takes of this JRE dependencies etc???
Thanks Shiv
For the application to run you will need the runtime. In fact the very first thing that happens when you start the app is a call is a made to OS to start JRE. You cannot do without JRE.
[You can of course embded JRE into your app itself if you want].
You can use Excelsior JET compiler for that purpose.
See http://www.excelsior-usa.com/ for more information on this.
You can ship the JRE with your application and use that JRE for your application. The effect is the same: The application will be started through an executable (wrapper needed) or script (batch) file and the target machine does not need to have a java runtime installed.
Java doesn't have to be 'installed', it just has to be 'present'.
I have used JSmooth to exify my application. It also allows for embedding a JRE inside. I just used the "ensure that at least Java X is available".
GPL, can be run as an ant task.
Have you tried install4j? There are various versions, some free, of this concept. Basically, this application compiles your application into an executable installer, specific to the OS of your choice.