Running .jar error main class not found.

So I made a simple game for a friend, compiled it into a jar which runs fine on my PC. However my friend gets an error main class not found.

They use a Mac and I compiled on a Windows PC if that’s of any relevance.

I compiled using “jar -cvmf manifest.txt nameOfMainProgramFile.jar *.class”

manifest.txt = Main-Class: Game

What is usually the main cause of this error on a mac? Could it be a problem with their java install?

Thank you for any help you can provide