learn java
The moose likes Java in General and the fly likes How to create EXE file in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to create EXE file in java" Watch "How to create EXE file in java" New topic

How to create EXE file in java


Joined: Dec 27, 2000
Posts: 4
Hi friends,
How can i create EXE file in java(like setup icon kind of thing)...so that by clicking that i can run my application.
Sean MacLean
Ranch Hand

Joined: Nov 07, 2000
Posts: 621
It's easy on a Mac but this is the only PC method that I've come across.
Perhaps someone else has a cleaner solution?
Roseanne Zhang
Ranch Hand

Joined: Nov 14, 2000
Posts: 1953
If you're working in ms-windows, you can make an executble jar file, and click it and run it.
See instructions here, it might help:
Instructions for Creating an Executable .jar File

It is sorta covered in the JavaRanch Style Guide.
subject: How to create EXE file in java