Ant needs tools.jar and unable to find it

后端 未结 10 1913
温柔的废话
温柔的废话 2021-01-30 16:27

I am putting together a dev environment for a Java program and after the first try of my Ant build scripts I got this error:

Unable to locate tools.jar. Expected         


        
10条回答
  •  清歌不尽
    2021-01-30 17:04

    It's there on my machine. I'm running Sun JDK 1.6.0_21 on Windows XP SP3.

    Are you sure you have the JDK? Is it possible that you only have the JRE?

提交回复
热议问题