File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes How to create exe file 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 create exe file" Watch "How to create exe file" New topic
Author

How to create exe file

Anil Bharadia
Greenhorn

Joined: Mar 12, 2009
Posts: 15

Hello friends, i want to create .exe file of my project because jar file can be decompiled easily.
How can i Create .exe file from .class or .jar file ?


Preparing SCJP 1.6
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18507
    
  40


First of all, not all Java applications can be compiled to an exe -- but if you still want to do it, then google for "Java AOT".

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Mike Simmons
Ranch Hand

Joined: Mar 05, 2008
Posts: 2982
    
    9
Considering the reason Anil wants to do this, I think he might be better off forgetting about exe's and instead googling "java obfuscator". Ultimately this only makes it more difficult to reverse engineer, not impossible - but fundamentally, that's true of any software that you release to the customer's own machine.
Nishant Arora
Greenhorn

Joined: Apr 21, 2009
Posts: 16
Try for JNLP technology of java.
Dmitry Mamonov
Greenhorn

Joined: Dec 24, 2008
Posts: 28
If you really want it:

http://launch4j.sourceforge.net/ - utility
http://www.javalobby.org/articles/java2exe/ - overview
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to create exe file
 
Similar Threads
how to create exe file
How to create a standalone SWT app ?
how to conver .jar to .exe file
Security of Java Jar file
.exe file for Java Application