Getting exception while executing written code. Java is a high-level, class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible.
I have written below code and that is showing error
Java Version- 1.8
Java is a high-level, class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible. Java is a high-level, class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible.
Major minor version error happen when you have JRE in Java build path instead of JDK.
You have to follow below steps.
properties
.Java-Build
path.JRE/JDK
section is absent in Library section then click on Add Library otherwise select JRE and click edit.JDK checkBox
in Installed JRE
and click ok
.Hope this will solve your problem.