Select the check box to activate the required version of JRE. and navigate to the folder that contains the JDK. Thus, class file format versions may be ordered lexicographically, for example, 1.5 Preferences, and in the window that appears, on the left side, under Java, click on Installed JREs, click on Add. If a class file has major version number M and minor version number m, we denote the version of its class file format as M.m. Together, a major and a minor version number determine the version of the. The values of the minor_version and major_version items are the minor and major version numbers of this Java class file. It is better you need to install both JRE/JDK with the same version. Make sure the application you are running is pointing to the right or highest version available. Sometimes you may have more than one version of Java SDK installed in your machine. Depending on your situation, you have two ways to resolve this error: compile your code for an earlier version of Java, or run your code on a newer Java version. jdk 1.8) and then run it on a lower version (e.g. It happens when you compile your projects on higher version of java(e.g. Unsupported major.minor version error is because of Java version mismatch.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |