I just compiled a simple Java program in my Ubuntu Virtual Machine. It runned fine there. When I copied the same ".class" file to Windows (host machine) I got the message below:
"(...)has been compiled by a more recent version of the Java Runtime (class file version 58.0), this version of the Java Runtime only recognizes class file versions up to 52.0"
Is there any way to fix this by implementing changes only my Ubuntu environment?