Error Unsupported major.minor version 52.0 after installing VS2015 in W10

前端 未结 2 1254
借酒劲吻你
借酒劲吻你 2021-01-24 06:31

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.

I tried to ins

相关标签:
2条回答
  • 2021-01-24 06:41

    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.

    0 讨论(0)
  • 2021-01-24 06:45

    Usually this error comes up, when your project compiles/runs against lets say Java 7, while referencing some dependency which is compiled against Java 8 (and uses Java 8 features).
    Check your compiler level or your runtime configuration.

    0 讨论(0)
提交回复
热议问题