不支持Java的主要和次要版本52.0 [英] Java unsupported major minor version 52.0

查看:297
本文介绍了不支持Java的主要和次要版本52.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我也有这个问题在过去的几个小时,我无法启动我的Java应用程序中的HTML网页小程序(我使用的HTML 4.01,我知道它不能在HTML5工作)。它返回的错误信息是的Java:不支持MAJOR.MINOR版本52.0

I have had this problem for the last couple of hours where I can not launch my java application as a web applet in html (I am using html 4.01, I know it doesn't work in html5). The error message it returns is java : Unsupported major.minor version 52.0

我曾尝试降级我的Java JRE / JDK / SDK,但我仍然得到同样的错误消息。我现在用的Java的当前版本为1.8.0_05。谢谢你在前进。

I have tried downgrading my java jre/jdk/sdk but I still get the same error message. The current version of java I am now using is 1.8.0_05. Thank you in advance.

推荐答案

您code与Java版本1.8编译,而它正在与Java版本1.7或以下的执行。

Your code was compiled with Java Version 1.8 while it is being executed with Java Version 1.7 or below.

在你的情况看来,两个不同的Java装置的使用,较新的编译和较早执行您的code。

In your case it seems that two different Java installations are used, the newer to compile and the older to execute your code.

尝试使用Java 1.7重新编译code或升级您的Java插件。

Try recompiling your code with Java 1.7 or upgrade your Java Plugin.

这篇关于不支持Java的主要和次要版本52.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆