Eclipse: While Exporting select Class with Main funcion
Intellij: 1. Create Manifest folder "META-INF" in "resources"
2. Crate Manifest file "MANIFEST.MF"
3. Add Manifest-Version: 1.0
Main-Class: path.to.your.main
4. Create and Export Artifacts