首页 > 编程语言 > 详细

Neither the JAVA_HOME nor the JRE_HOME environment variable is defined

时间:2019-02-15 21:19:27      阅读:586      评论:0      收藏:0      [点我收藏+]

Centos7.5  启动tomcat报错

报错:

Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program

原因:没有安装java

解决方法:安装java

yum install java -y

  

 

Neither the JAVA_HOME nor the JRE_HOME environment variable is defined

原文:https://www.cnblogs.com/lvhanzhi/p/10385758.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!