Two Laptop Bag*
The moose likes Beginning Java and the fly likes can java make exe files? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "can java make exe files?" Watch "can java make exe files?" New topic
Author

can java make exe files?

Icon Liu
Greenhorn

Joined: Nov 26, 2002
Posts: 2
I just know the java application is *.class files,but how to make *.exe files with java?
thanks for your help
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
This question is asked on a regular basis. You should use the Search utility to find out what has been said about it. For example, you will find a threads like this, this, and this.
HTH
Layne


Java API Documentation
The Java Tutorial
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Welcome to JavaRanch, Icon Liu!
There are programs that you can download to create an exe from a Java application. This approach at creating an executable application would likely have two big flaws - it would only be executable on Windows, and the size of the exe might be a lot bigger than you were expecting as some Java -> exe programs will bundle the JRE (about 5MB) with the application.
I'd suggest that you consider Creating an Executable JAR File. Such an application would be only as big as you made it, and would run (by simply double-clicking on the file) on any machine with a Java 2 Runtime Environment properly installed.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can java make exe files?
 
Similar Threads
EXE Files
Making java applications into .exe files
ClassPath
java
How to make .EXE files?