Wednesday, February 21, 2018

java - Unsupported major.minor version 52.0

Pictures:



Command Prompt showing versions
Command Prompt showing versions



Picture of error

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, 50);
}
}


Hello.html






HelloWorld Applet










Error



Hello : Unsupported major.minor version 52.0


What may the problem be?

No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...