Reputation: 1
Im trying to dockerize my application and when I try to run the docker run command, I receive this error. I tried a lot of things where people say that java and javac are different versions, but they are the same; What is the problem in the situation and how can I resolve it? I will apply picture of the error, so you can see it. Also do I need to go back to previous version of java and how to do this? Thanks in advance! :)
Upvotes: 0
Views: 647
Reputation: 3465
You have compiled your code with Java 10. Your docker has Java 8 runtime environment.
Upvotes: 0