Create an executable JAR file using eclipse
- Right click on your project
- Select export from the context menu


3. Select the Runnable JAR file
4.Provide the destination path and launch configuration as mail class of the programme
alternative link download