Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
正如标题中提到的,当我想为 gradleit 运行我的任务时,任务':compileJava' 的执行失败。找不到 tools.jar 我在 C:\Program Files\Java\jdk1.7.0_17\lib 中检查了 tools.jar 并找到了它,我添加了 JRE(windows -> 首选项 -> java -> 添加 JRE 并应用它)。但问题还是一样。
我与 eclipse gradle 插件有相同的错误消息,并且需要在 gradle 参数中设置我的 JDK。