File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes How to convert a java code into an exe file--Please help 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 » Beginning Java
Bookmark "How to convert a java code into an exe file--Please help" Watch "How to convert a java code into an exe file--Please help" New topic
Author

How to convert a java code into an exe file--Please help

Foni kumar
Ranch Hand

Joined: Sep 19, 2007
Posts: 66
Hi All,

Can any one help me out with conversion of my java code into an executable .exe fle . I have a class created suuppose automate_database.java and i want to convert this into an exe file so that it can be put in anyone's machine and they can execute the code by double clicking the exe file.

Please help with some steps I need to perform .Appreciate for all your suggestions in this regard

Thanks,
Deb
Pramod P Deore
Ranch Hand

Joined: Jul 15, 2008
Posts: 629

By creating executable jar files


Life is easy because we write the source code.....
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
.exe files only work on Windows, thus defeating the purpose of being able to "put it on anyone's machine": Double-clickable jar files are designed to avoid this problem: http://www.coderanch.com/how-to/java/JarFiles
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

debashis mekap wrote:I have a class created suuppose automate_database.java


A word of advice: learn to follow the Code Conventions for the Java Programming Language.


luck, db
There are no new questions, but there may be new answers.
Foni kumar
Ranch Hand

Joined: Sep 19, 2007
Posts: 66
Pramod P Deore wrote:By creating executable jar files


That works for me Thankyou so much every one
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to convert a java code into an exe file--Please help
 
Similar Threads
Converting Swing appl. to .exe file
How to Convert .java to .exe
How to Convert a file into pdf in java
Doubt Pls Help me
How to convert java class file to exe file?