[Java] Unsupported Major.Minor Version xx
A common Java issue that usually happens when you use a compiler with a different version and compile on another computer. I experienced this when compiling on Hanang’s computer, and it turned out my .java file couldn’t be compiled properly.
How to fix it: delete all .class files from that source folder and recompile that .java file. Hope this helps :)
NB : This most likely happens when your program has more than one object. Calls to other Class will more often trigger this error (if there are version differences)
This post is licensed under CC BY 4.0 by the author.