user2763361
user2763361

Reputation: 3919

Hotkey to generate runnable JAR in Eclipse

Is there a hotkey to automatically/effortlessly generate a runnable JAR file from Eclipse? I need to do this regularly and it is time consuming to go through the rigmarole of the standard manual way.

Upvotes: 0

Views: 84

Answers (2)

Nathaniel Jones
Nathaniel Jones

Reputation: 1849

Create an Ant buildfile. It's a little time consuming the first time, but once you've made it, you can create your runnable JAR file with the click of a button (specifically the green button to the right of the run button on your toolbar).

Upvotes: 2

Anthone
Anthone

Reputation: 2290

To gererate jar Quickly, I use ant http://ant.apache.org/ http://www.tutorialspoint.com/ant/ant_eclipse_integration.htm

I use it, for compilation, generate jar, move file, execute jar... If it can help you

Upvotes: 1

Related Questions