Ant needs tools.jar and unable to find it

后端 未结 10 1904
温柔的废话
温柔的废话 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:09

    On Ubuntu I've fixed this problem by installing package

    openjdk-7-jre-lib
    

    tools.jar appeared after that.

    (I know this is an old post, but comment in hope that it will be helpful for somebody lurking for answer like I was today.)

提交回复
热议问题