Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

why am I getting no main manifest attribute, in main.jar when loading saved files.

+2 votes
asked Mar 26, 2025 by gerard walden (350 points) 1 flag

1 Answer

+1 vote
answered Mar 28, 2025 by Tanishka Pandey (210 points)
Your jar is most likely missing the Main class entry in META-INF/MANIFEST.MF. Add it and repackage the JAR. Probably that's why it isn't happening.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and receive answers from other members of the community.
...