Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


unsupported major minor version 52 0


unsupported major minor version 52 0  using -'java,applet,version,unsupported-class-version'

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


Hello.html

<HTML>
<HEAD>
<TITLE>HelloWorld Applet</TITLE>
</HEAD>
<BODY>
<APPLET CODE="Hello.class" WIDTH=300 HEIGHT=150>
</APPLET>
</BODY>
</HTML>


Error

Hello : Unsupported major.minor version 52.0


Does anyone know what the problem may be?
    

asked Sep 16, 2015 by manju bhargava
0 votes
18 views



Related Hot Questions



Walkin Jobs Opening



Government Jobs Opening


...