Getting an error about the main manifest in java
问题 Note, flappyFlyGame is the package that all my class files are in. I've made a small java project and now I'm trying to export it as a runnable JAR file. However, when I try to run the jar file in the console, I get an error, no main manifest attribute error , even though I've made a manifest file. Inside it, there's one line, Main-Class: flappyFlyGame.Main (the class where the main function is). The classes are all .class files. I've run a command in the console, it should be correct (it was