This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes How To make Java Program Executable ? 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 "How To make Java Program Executable ?" Watch "How To make Java Program Executable ?" New topic
Author

How To make Java Program Executable ?

Rosewell
Greenhorn

Joined: Jul 22, 2002
Posts: 8
Can anyone pls. help me to make My software a stand alone program w/o running it with the java environment.
Thanks : Rosewell
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Rosewell
This is your third post and the third time you are being asked to change your name. Please change it or your account will be disabled.
naming policy
change your display name


Dave
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Try doing a search in the forums for an answer to your question. It has been asked countless times before and you should get plenty of answers. To help you out.
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Frankly the question should not be how to run it outside the "java environment" but should be how do I run it so that (fill in the blank) - my user does not have to have java installed? My user can just double click to invoke my application? My user can install it easily??
What is the REAL reason that you are asking this question.


"JavaRanch, where the deer and the Certified play" - David O'Meara
Sunil Palicha
Greenhorn

Joined: Jul 24, 2002
Posts: 11
Try using gcj
It links your java classes to libgcj
So you can run your program like
./HelloWorld
Abhinav Anand
Ranch Hand

Joined: May 02, 2002
Posts: 113
Hi guys,
I mugged my head a lot on this java class to exe issue. I have had some recent development in this area.
Try this link:
http://www.excelsior-usa.com/jet.html
Download the personal edition of Exelsior Jet which will get you started in this area. It is a great tool to begin with and it is absolutely free. However to make the exe run on another computer you will need another utility named JetPack, which you gotta download from the link given below:
http://www.excelsior-usa.com/jetdl25jpu.html
Try this link also:
http://www.duckware.com/jexepack/index.html
Although the jexepack is not free but it is worth a try to try it.
Thanks,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How To make Java Program Executable ?
 
Similar Threads
program running problem
javax.naming.NoInitialContextException ?
Call executable program
schedule job in java
installation