I have a Greenfoot project and it is finished and running normally, then when I Export it to a .jar file it is also normal.
However, when I ran using the command
"java -jar file.jar"
the error
"Error: Could not find or load main class greenfoot.export.GreenfootScenarioApplication" appeared.
I wonder why ?