javac: invalid target release: 1.8

前端 未结 15 1034
死守一世寂寞
死守一世寂寞 2021-01-30 12:22

I recently downloaded JDK 1.8.0.0_06 that comes bundled with NetBeans. I then got to find out that my JavaFx project, that I have been developing in Java 1.7 won\'t compile in J

15条回答
  •  感动是毒
    2021-01-30 12:53

    if you are going to step down, then change your project's source to 1.7 as well,

    right click on your Project -> Properties -> Sources window and set 1.7 here" Jigar Joshi

    Also go to the build-impl.xml and look for the property excludeFromCopy="${copylibs.excludes}" and delete this property on my code was at line 827 but I`ve seen it on other lines

    for me was taking a code from MAC OS java 1.8 to WIN XP java 1.7

提交回复
热议问题