To copy the contents of the command prompt window:
Click on Icon in upper left corner
Select Edit
Select 'Select All' - The selection will show
Click in upper left again
Select Edit and click 'Copy'
The message says that the code is compiled for Java version 54.0 (Java 10), but you're trying to run it with Java version 52.0 (Java 8). You need to either recompile the code with Java 8, or run it with Java 10.