my dog learned polymorphism*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 41029
    
  43
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 - my free Android networking tools app
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: 41029
    
  43
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.
 
wood burning stoves
 
subject: creating .exe file for java application
 
Similar Threads
Java Compiler and Run times(Urgent)
how to make a java program instalable file??
Executing .exe inside a jar file
How to Execute a .exe file stored in jar file ?
How to create an installable file of java web application