安装apachemesos时出现了以下错误,您能帮我吗
configure: error: failed to determine linker flags for using Java (bad JAVA_HOME or missing support for your architecture?)
file:///home/ccompl06-14/Pictures/Screenshot%20from%202015-05-28%2009:24:42.png
安装apachemesos时出现了以下错误,您能帮我吗
configure: error: failed to determine linker flags for using Java (bad JAVA_HOME or missing support for your architecture?)
file:///home/ccompl06-14/Pictures/Screenshot%20from%202015-05-28%2009:24:42.png
2条答案
按热度按时间km0tfn4u1#
您的系统上似乎没有安装jdk。看看这个回答你问题的网站:
anauzrmj2#
以下是如何在unix和linux上设置java\u主页:
导出java\u home=/opt/java/jdk\u 1.6
导出$path=${path}:{java\u home}/bin
有关更多详细信息,请参阅
http://javarevisited.blogspot.in/2012/02/how-to-set-javahome-environment-in.html