Unsupported major.minor version 52.0 [duplicate]

This question already has answers here: How to fix java.lang.UnsupportedClassVersionError: Unsupported major.minor version (50 answers) Closed 5 years ago. Pictures: Command Prompt showing versions Picture of error Hello.java import java.applet.Applet; import java.awt.*; public class Hello extends Applet { // Java applet to draw “Hello World” public void paint (Graphics page) { page.drawString (“Hello World!”, 50, … Read more

How to fix java.lang.UnsupportedClassVersionError: Unsupported major.minor version

I am trying to use Notepad++ as my all-in-one tool edit, run, compile, etc. I have JRE installed, and I have setup my path variable to the …/bin directory. When I run my “Hello world” in Notepad++, I get this message: java.lang.UnsupportedClassVersionError: test_hello_world : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) ………………………………….. … Read more

Unsupported major.minor version 52.0 [duplicate]

The issue is because of Java version mismatch. Referring to the JVM specification the following are the major versions of classfiles for use with different versions of Java. (As of now, all versions support all previous versions.) Java SE version Major version 1.0.2 45 1.1 45 (Not a typo, same version) 1.2 46 1.3 47 1.4 48 … Read more