![eclipse - Fatal error compiling: tools.jar not found: C:\Program Files\Java\jre6\..\lib\tools.jar -> - Stack Overflow eclipse - Fatal error compiling: tools.jar not found: C:\Program Files\Java\jre6\..\lib\tools.jar -> - Stack Overflow](https://i.stack.imgur.com/0nVmu.jpg)
eclipse - Fatal error compiling: tools.jar not found: C:\Program Files\Java\jre6\..\lib\tools.jar -> - Stack Overflow
Could not find tools.jar." error with react-native run-android even in the latest release · Issue #18888 · facebook/react-native · GitHub
![maven打包报错Fatal error compiling: tools.jar not found: C:\Program Files\Java\jre1.8.0_151\..\lib\tool_51CTO博客_maven打包报错springboot maven打包报错Fatal error compiling: tools.jar not found: C:\Program Files\Java\jre1.8.0_151\..\lib\tool_51CTO博客_maven打包报错springboot](https://s2.51cto.com/images/blog/202112/31111131_61ce74e32bcda33484.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_30,g_se,x_10,y_10,shadow_20,type_ZmFuZ3poZW5naGVpdGk=)
maven打包报错Fatal error compiling: tools.jar not found: C:\Program Files\Java\jre1.8.0_151\..\lib\tool_51CTO博客_maven打包报错springboot
![Could not find artifact com.sun:tools:jar:1.8.0 at specified path /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/../lib/ tools.jar – Alexey Matveev Could not find artifact com.sun:tools:jar:1.8.0 at specified path /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/../lib/ tools.jar – Alexey Matveev](https://matveevlife.files.wordpress.com/2022/06/d7c29-screenshot-2021-03-17-at-12.23.40.png?w=1024&h=613)
Could not find artifact com.sun:tools:jar:1.8.0 at specified path /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/../lib/ tools.jar – Alexey Matveev
![Failed to execute goal on project core: Could not resolve dependencies for project com.mycompany:core:jar:1.0: Could not find artifact jdk.tools:jdk. tools:jar:1.6 at specified path C:\Program Files\Java\jre7/../lib/tools.jar -> | Velmurugan Velayutham Failed to execute goal on project core: Could not resolve dependencies for project com.mycompany:core:jar:1.0: Could not find artifact jdk.tools:jdk. tools:jar:1.6 at specified path C:\Program Files\Java\jre7/../lib/tools.jar -> | Velmurugan Velayutham](https://velmuruganv.files.wordpress.com/2014/03/jdk_home_2.png)