Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Java in General and the fly likes *.exe java program Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "*.exe java program" Watch "*.exe java program" New topic
Author

*.exe java program

Vrabie Cristian
Greenhorn

Joined: Feb 28, 2004
Posts: 14
Can I somehow get an exe from an java programm? Someone told me about a wrapper but didn't had any links. Can you help me with that? Thank you!
Steve JK
Greenhorn

Joined: Jun 16, 2004
Posts: 5
Hi Vrabie,

To answer your question, the easiest way to get an EXE file for your JAVA program, is to use a nice little program called 'exe4j'. To use this, simply compile your java program into a .JAR file and then run exe4j on it to make it into an executable jar file.

I.e if your program was called myProgram.jar, it will now be called myProgram.exe and will run when double clicked.

Cheers,
Steve


Happy Coding all!
Vrabie Cristian
Greenhorn

Joined: Feb 28, 2004
Posts: 14
Thank you for your help. Nice stuff but not very cheap! Does anyone knows something less expensive?
Greg T Robertson
Ranch Hand

Joined: Nov 18, 2003
Posts: 91
gcj may work for you. GCJ Note I have never used this but my understanding is that it will do what you want.
Vrabie Cristian
Greenhorn

Joined: Feb 28, 2004
Posts: 14
Yes, it works just fine. Thanks!
Ko Ko Naing
Ranch Hand

Joined: Jun 08, 2002
Posts: 3178
Thank you, guys for the great software to generate .exe for Java Program... I've been using JBuilder's exe generator, which I cannot use it at home, since I cannot buy a JBuilder for my own use at home... It's good that there are such free softwares to deal with .exe file for Java programs...

Thanks...


Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

Can you tell me 3 things, please:

How big is the exe-file?
How big was the jar-file?
Can you execute that exe-file on a machine without a current jre?


http://home.arcor.de/hirnstrom/bewerbung
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: *.exe java program
 
Similar Threads
make a EXE in java
generation of .exe
How to Convert .java to .exe
java .exe file
How to convert .Java file into .Exe file