Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

produsing Jar or other executables in Eclipse

 
Peter Sorotokin
Ranch Hand
Posts: 36
1
Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I have writen and run a java application using Eclipse and have run it in command window usind java command
or have run it in Eclipse using right click on project name and choosing Run command . Now I have two question :

How i can produce jar file of my java application in Eclipse in order to run it as an standalone application
in my Windows desktop by double clicking on it ???

How i can produce executable file of my java application other than jar file in Eclipse in order to run my
application by double clicking on it in Windows ???
 
Campbell Ritchie
Sheriff
Posts: 48404
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Project→export as jar or similar.
You will probably have to specify which project you are exporting, and also specify a “main” class for the manifest file.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic