You normally don't. You either provide JAR file that can be executed from command line (or double click, but this often fails with Windows due to wrong registrations of execution services) or you provide it as WAR/EAR file that is deployed on some Java container/server
Many people specially students insists on creating exe files, which is possible with some additional often expensive tools. You can read about it here
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902