Getting Error running javac.exe compiler message, while using Ant in Eclipse

后端 未结 17 859
旧时难觅i
旧时难觅i 2020-12-24 13:04

When I run my Ant build in Eclipse, I\'m getting the following error message and the Ant build fails.

Error Message: Error running javac.exe compile

17条回答
  •  一向
    一向 (楼主)
    2020-12-24 13:34

    Configuring eclipse to point to JDK instead of JRE did not work for me. With further investigation, I solved this problem by stopping the build process from forking. In your build.xml, remove the attribute fork from tag.

提交回复
热议问题