S
S
Sinus_3142019-01-31 15:30:39
Java
Sinus_314, 2019-01-31 15:30:39

[SOLVED] How to run java prog?

As a matter of fact, I decided to take up Java and immediately ran into the problem of launching the simplest helloworld program. The class was created after a couple of magical rites, but the computer diligently tells me about the difference in versions of Java runtime environments

Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: HelloworldApp has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

But the point is that only one version is installed - 11.0.2.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lauslaston, 2020-08-18
@lauslaston

hu

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question