user785099
user785099

Reputation: 5553

How to deploy an Eclipse java project into a jar file

I have a java project running in Eclipse, and it works fine. Right now, I would like to deploy it to a executable jar, how can I do that? In addition, I have several argument setting in the run configuration window. For instance ,the Program arguments in run configuration window is -t test –u up; the VM argument is –d64. The main class is com.myproject.model.

Upvotes: 4

Views: 10161

Answers (2)

Pheonix VX
Pheonix VX

Reputation: 29

Simply right-click on the project; go to export - choose location, and then export should be completed.

After that if you are a windows user, you can create it into an application only runnable on windows or known as .exe

Upvotes: 0

Will
Will

Reputation: 2880

You should simply be able to go to Export->Java->Jar file in Eclipse.

Upvotes: 3

Related Questions