openjdk6 builds failed with "NB: JAVA_HOME should point to a JDK not a JRE" · Issue #8452 · travis-ci/travis-ci · GitHub
![Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environ_libin9iOak的技术博客_51CTO博客 Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environ_libin9iOak的技术博客_51CTO博客](https://s2.51cto.com/images/blog/202208/09151323_62f2091343fc570780.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_30,g_se,x_10,y_10,shadow_20,type_ZmFuZ3poZW5naGVpdGk=/resize,m_fixed,w_750)
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environ_libin9iOak的技术博客_51CTO博客
![Tomcat:JAVA_HOME should point to a JDK not a JRE解决_51CTO博客_JAVA_HOME should point to a JDK not a JRE Tomcat:JAVA_HOME should point to a JDK not a JRE解决_51CTO博客_JAVA_HOME should point to a JDK not a JRE](https://s2.51cto.com/images/blog/202211/29153839_6385b6ffa93f183728.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_30,g_se,x_10,y_10,shadow_20,type_ZmFuZ3poZW5naGVpdGk=/resize,m_fixed,w_750)
Tomcat:JAVA_HOME should point to a JDK not a JRE解决_51CTO博客_JAVA_HOME should point to a JDK not a JRE
![java - Showing JAVA_HOME is not defined correctly when I check Maven version in windows 10 - Stack Overflow java - Showing JAVA_HOME is not defined correctly when I check Maven version in windows 10 - Stack Overflow](https://i.stack.imgur.com/kKP3Q.png)