Organizational Research By

Surprising Reserch 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 sameer rathore
0 votes
7 views



Related Hot Questions

12 Answers

0 votes
NULL
answered Sep 16, 2015 by mcasudhir
0 votes
NULL
answered Sep 16, 2015 by vibhorsingh
0 votes
NULL
answered Sep 16, 2015 by vijaygupta1980
0 votes
NULL
answered Sep 16, 2015 by 20shahi
0 votes
NULL
answered Sep 16, 2015 by rajesh
0 votes
NULL
answered Sep 16, 2015 by sujata naik
0 votes
NULL
answered Sep 16, 2015 by dahiyabecomp
0 votes
NULL
answered Sep 16, 2015 by deepak07.s
0 votes
NULL
answered Sep 16, 2015 by sachin wagh
0 votes
NULL
answered Sep 16, 2015 by girisha
0 votes
NULL
answered Sep 16, 2015 by abhimca2006
0 votes
NULL
answered Sep 16, 2015 by patelnikul321

...