Author
How to generate a exe file for a java application
Padma priya Gururajan
Ranch Hand
Joined: Oct 05, 2006
Posts: 411
Hi,
Can you tell me as to how I should create a java application for a exe file?
Is there any tool for that?
Padma priya N.G.
Be the change you want to be - Mahatma Gandhi
Jeff Verdegan
Bartender
Joined: Jan 03, 2004
Posts: 5888
You can find several tools by googling. The question is, why do you want to do this?
Padma priya Gururajan
Ranch Hand
Joined: Oct 05, 2006
Posts: 411
Hi,
I was asked in one of my friends about how to create a exe file for a existing application. Could you please answer it?
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35249
posted Oct 03, 2012 04:01:18
0
Indeed, using exe files for Java code has numerous drawbacks. http://www.coderanch.com/how-to/java/JarFiles might be a better alternative.
Android apps – ImageJ plugins – Java web charts
nir sharma
Ranch Hand
Joined: Sep 11, 2012
Posts: 72
If its a desktop application then you can create a batch file to run the java file.
Kemal Sokolovic
Bartender
Joined: Jun 19, 2010
Posts: 792
Check this article and pay attention to the following:
"You cannot"
"You should not, because that would kill the very purpose of Java"
"You can do that with third party software X and Y"
If you really have a good reason for it, and I suspect it's not optional, google for Launch4j.
The quieter you are, the more you are able to hear.
Jeff Verdegan
Bartender
Joined: Jan 03, 2004
Posts: 5888
Padma priya Gururajan wrote: Could you please answer it?
I already did: Google.
subject: How to generate a exe file for a java application