Manmohan Jangid
Manmohan Jangid

Reputation: 51

Applets not working in Browser

I have created simple Applet Example. I have successfully created compiled and run it eclipse, but when i try to run in any of the browsers it shows..

unsupported major.minor version 52.0

I think the problem here is that i have java SE 1.8 64 bit installed on the system but browser is 32 bit and plugin points to jre1.7 32 bit, i have installed that also still the same error. If i forcefully try to compile my applet using 1.7 it show the following error.


javac: target release 1.7 conflicts with default source release 1.8


how should I resolve this...any suggestions?

Upvotes: 1

Views: 240

Answers (1)

joey rohan
joey rohan

Reputation: 3566

I made it working by compiling with the lower version of Java.

You can use javac -target 1.6 <source files>

If you're using some IDE to build jars, please specify which one.

Please see This link for details.

Upvotes: 1

Related Questions