wood burning stoves 2.0*
The moose likes Java in General and the fly likes creating .exe file for java application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "creating .exe file for java application" Watch "creating .exe file for java application" New topic
Author

creating .exe file for java application

Harish Tiruvile
Ranch Hand

Joined: Dec 01, 2005
Posts: 99
Hi all,

I have written an application.Now i want to deploy it in different machine . For that i am planning to create " .exe " file, which will set required environment variables and path required for my application.

Can any one please let me know the procedure for creating ".exe " file for java application.


Giving up is the easiest thing in the world to do..but holding it together when everything seems like falling apart is true strength!!
with regards, Harish.T
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39549
    
  27
The way to create double-clickable applications in Java are Jar files. Using them obviates the need to set paths and environment variables.


Ping & DNS - updated with new look and Ping home screen widget
Harish Tiruvile
Ranch Hand

Joined: Dec 01, 2005
Posts: 99
Hi Ulf Dittmer,

thanks for your replay ..

But, i have seen many application in .exe formate .

Can i pack my java application in ".exe " file? is this feature available for java based application?...
Harish Tiruvile
Ranch Hand

Joined: Dec 01, 2005
Posts: 99
HI,

i found open source code which is used for creating ".exe" files http://jsmooth.sourceforge.net/ .
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39549
    
  27
Well, the benefit of using jar files would be that the application isn't restricted to one particular operating system. They don't solve the problem of downloading and installing JREs, of course.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: creating .exe file for java application
 
Similar Threads
How to create an installable file of java web application
Java Compiler and Run times(Urgent)
Executing .exe inside a jar file
how to make a java program instalable file??
How to Execute a .exe file stored in jar file ?