Dentro do Eclipse funciona, na linha do comando (windows) tem versao diferente de Java runtime. Como faço igual?
>java -jar bytebank-1.0-executavel.jar
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: br/com/bytebank/banco/teste/TesteContas 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
at java.lang.ClassLoader.defineClass1(Native Method)
..... etc.