ERROR EJECUTAR FICHERO TEST.JAVA


05 de Agosto del 2019

Buenos dias.

 

Al querer ejercutar en cmd un fichero.java me aparece este error:

 

A JIN error has ocurred….

Exception in thread main java.lang.UnsupportedClassversionerror: test (nombre fichero) has been compiled by a more recent version of de Java Runtime (class file version 56.0) This version of de Java Runtime only recognizes class file versions up to 52.0


JAVA VERSION: 1,8,0 221


JAVAC VERSION 12.0.2

 

Que tengo que actualizar o hacer

 

Gracias