Problem trying to open my java application

Asked

Viewed 10 times

-1

I am trying to generate a . jar of a game but at the time of running the application, it does not open and when having open by the error cmd. someoneinserir a descrição da imagem aqui can help me. I thank you.

  • This message seems to be related to the java version.

1 answer

0

Good afternoon, all right?

The problem is the version of the java the program was compiled in, and the version of the java the . jar is running in

For example, sometimes in your IDE you are running java 11, but on the machine you are running java 8.

See which version is in the IDE, and from the terminal, running java -version on the terminal you can see which version of the machine.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.