启动Tomcat错误:he JRE_HOME environment variable is not defined correctly
来源:互联网 发布:淘宝店能升级企业店铺 编辑:程序博客网 时间:2024/06/04 22:34
在tomcat的bin目录下,双击startup.bat,闪一下,就没了,后来仔细看了一下黑屏闪的内容如下:
the JRE_HOME environment variable is not defined correctly
This environment variableis needed to run this program
原因:以前版本的tomcat需要JDK,现在的tomcat(本人的是7.0)只要有JRE就可以。 如果你装的tomcat的是解压版的(免安装的)那么则需要自己手动配置JRE_HOME 这个环境变量,否则,就会出现上面的错误。
解决办法:右击 我的电脑 - 高级 - 环境变量, 在系统变量中 新建
变量名:JRE_HOME
变量值:C:\Program Files\Java\jre7(根据你自己的JDK安装目录寻找JRE)
至此,错误解决,运行tomcat 正常启动
阅读全文
0 0
- 启动Tomcat错误:he JRE_HOME environment variable is not defined correctly
- 启动Tomcat错误:he JRE_HOME environment variable is not defined correctly
- 启动Tomcat错误:he JRE_HOME environment variable is not defined correctly
- 启动Tomcat错误:he JRE_HOME environment variable is not defined correctly
- 启动Tomcat错误:he JRE_HOME environment variable is not defined correctly
- 启动Tomcat错误:he JRE_HOME environment variable is not defined correctly
- 启动Tomcat错误:he JRE_HOME environment variable is not defined correctly
- 启动Tomcat失败,错误提示:the JRE_HOME environment variable is not defined correctly
- TOMCAT JAVA_HOME or JRE_HOME environment variable is not defined correctly
- TOMCAT JAVA_HOME or JRE_HOME environment variable is not defined correctly
- TOMCAT JAVA_HOME or JRE_HOME environment variable is not defined correctly
- Tomcat The JRE_HOME environment variable is not defined correctly
- TOMCAT JAVA_HOME or JRE_HOME environment variable is not defined correctly
- JRE_HOME错误 The JAVA_HOME environment variable is not defined correctly
- JRE_HOME错误 The JAVA_HOME environment variable is not defined correctly
- tomcat配置过程中出现JRE_HOME environment variable is not defined correctly的错误
- Tomcat之the jre_home environment variable is not defined correctly this environment variable is need
- tomcat运行出现出现问题(the JRE_HOME environment variable is not defined correctly This environment variabl)
- 第二章:Selenium IDE应用实践
- 1 编写一个Book类,该类至少有name和price两个属性。该类要实现Comarable接口,在接口的compareTo()方法中规定两个Book类实例的大小关系为二者的price属性的大小关系。
- 搭建LNMP环境(CentOS 6)
- go 获取函数调用者caller的函数名 打印堆栈runtime.Stack debug.Stack()
- windows之python3.6的pyinstaller的安装与使用
- 启动Tomcat错误:he JRE_HOME environment variable is not defined correctly
- 抽象类和接口的对比
- Python基础(二):循环
- PHP array_map用法,遍历数组每个元素执行某函数
- 用蛮力法解决冒泡排序
- ubuntu环境配置
- POJ3087 Shuffle'm Up (strcmp;strcpy;strcat)
- datatables分页,排序,ajax请求等参数设置
- 关于ie 对position定位后的z-index问题