Linux下Tomcat启动报错:Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one
来源:互联网 发布:c语言精度控制 编辑:程序博客网 时间:2024/05/17 08:16
这是找不到JAVA_HOME路径,可能导致这个原因的是Linux环境变了。需要在Tomcat的bin文件目录下找到catalina.sh 这个配置文件。
加入下面两条配置信息,指定JDK路径即可
export JAVA_HOME = /home/xy/jdk1.7.0_80(这个是我的JDK路径,自己的JDK路径指定即可)
export JRE_HOME =/home/xy/jdk1.7.0_80/jre
保存退出,重启Tomcat即可。
阅读全文
0 0
- Linux下Tomcat启动报错:Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one
- Linux下tomcat启动Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of
- 启动Tomcat异常(Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of )
- tomcat启动时错误Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of th
- Neither the JAVA_HOME nor the JRE_HOME environment variable is defined ;At least one of these enviro
- 解决Linux下启动Tomcat遇到Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
- BUG_tomcat启动报错Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
- 向linux中上传文件后,重启tomcat报错:Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At le
- 向linux中上传文件后,重启tomcat报错:Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At le
- 启动tomcat时报Neither the JAVA_HOME nor the JRE_HOME environment variable is defined 的解决方案
- 启动tomcat时报Neither the JAVA_HOME nor the JRE_HOME environment variable is defined 的解决方案
- linux安装tomcat Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
- linux安装tomcat Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
- linux安装tomcat Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
- Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
- Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
- Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
- Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
- YOLO:实时目标检测
- 云星数据---Scala实战系列(精品版)】:Scala入门教程048-Scala实战源码-Scala Match操作
- Unity2017.2错误集合
- Mac 卸载mysql
- 对于floyed算法过程的理解
- Linux下Tomcat启动报错:Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one
- eclips启动
- IDE、SATA、SCSI、SAS、FC、SSD 硬盘类型
- Visual GC插件「不受此JVM支持」问题
- 原型模式
- NODE事件驱动
- python学习:条件判断
- Spring Cloud在国内中小型公司能用起来吗?
- JS中const,var,let的区别