Reputation: 1549
This might be an odd question, but it's one that I would love solved.
In Eclipse, I've made a project. Beautiful GUI and all. When I hit Run as Java Application
(or just Run
for that matter), it all works wondrously.
What I want to know is:
What is the easiest way to make my precious project into a double-clickable file? So that when I mail it to a friend, said friend can just double-click the file and see what I do when I hit Run
in Eclipse?
I'm a little new to Eclipse still, so the least complicated answer which works is the best one.
Upvotes: 2
Views: 255
Reputation:
You have several options. You can make:
runnable jar, from eclipse export and select a runnable jar as shown below:
Example: Step 1
Step 2
Upvotes: 3