Eclipse 3.7, Ant, Java 1.7

前端 未结 3 1170
感情败类
感情败类 2021-02-13 09:15

I went through and uninstalled all Java from my computer. Then I installed JavaSE JDK1.7. I then modified Eclipse configuration so it would start and opened it up. I have an Ant

相关标签:
3条回答
  • 2021-02-13 09:47

    This is because you still have the old JDK configured as JRE in the External Tools Configuration" in eclipse - open it via the arrow menu next to this button in the toolbar: enter image description here, then change it to the Java 7 JDK.

    0 讨论(0)
  • 2021-02-13 09:57

    In Eclipse, click the ant file -- Run As -- External Tools Configuration and click on the JRE tab.

    Select "Run in the same JRE as the workspace"

    0 讨论(0)
  • 2021-02-13 09:58

    Delete the "C:\Users\%USERNAME%\workspace.metadata.plugins\org.eclipse.debug.core.launches\%PROJECT_NAME% build.xml.launch file"

    That solved problem for me.

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