I have a standalone project that does not contain any main method in any class. I have to create a executable jar file to run this project and use it for my task. When I am creating executable jar using gradle build command and running it, it gives me “no main manifest attribute”. Please help me, how can I create the correct executable jar?
Please for reference have a look on the project that i want to run.
Thank you for your quick response. Actually, I have shared the github url of the application in question. The application is a texture_atlas-creator (creating single atlas using multiple images). This application is a standalone tool and API and it does not have any main method.
for more understanding about this application, please follow the documentation
Now, as per documentation, for creating atlas using multiple images, I need to run executable jar of the application into command line using command
“java -jar executable-jar.jar [algorithm] [width] [height] inptu output”
The problem is in this tool/api, there is no main method in any class, so when i am creating executable jar and running it using command line, it gives "no main manifest attribute " in the executable-jar.
I hope you will understand the issue now.