• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

creating .exe file for java application

 
Harish Tiruvile
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The way to create double-clickable applications in Java are Jar files. Using them obviates the need to set paths and environment variables.
 
Harish Tiruvile
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,

i found open source code which is used for creating ".exe" files http://jsmooth.sourceforge.net/ .
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic