在 W10 中安装 VS2015 后出现 Unsupported major.minor version 52.0 错误 [英] Error Unsupported major.minor version 52.0 after installing VS2015 in W10
问题描述
在 W10 中安装 VS2015 并尝试编译在 W7 中完美运行的项目后,我收到此错误:不支持的major.minor 版本 52.0.
After installing VS2015 in W10, and trying to compile a project which works perfectly in W7, I´m getting this error: Unsupported major.minor version 52.0.
我尝试安装 Java7U80、Java7U79、Java8、更改类路径等...
I tried to installa Java7U80, Java7U79, Java8, changing classpath, and so on...
推荐答案
如果您有多个 JDK,请删除它们.安装最新版本的 JDK 8 并转到 Visual Studio options => Xamrin 并将 Java Development Kit Location
设置为 JDK 8 路径,例如 C:\Java\JDK\jdk1.8.0_92代码>.
If you have multiple JDKs then remove them. Install JDK 8 the latest version and go to Visual Studio options => Xamrin and set the Java Development Kit Location
to the JDK 8 path e.g C:\Java\JDK\jdk1.8.0_92
.
这篇关于在 W10 中安装 VS2015 后出现 Unsupported major.minor version 52.0 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!