解决tomcat的安装文件中点击startup.bat闪退的问题
遇到这样的问题的时候不要慌,可以使用下面的方式去解决!
如果不用Myeclipse部署Tomcat,使用Tomcat中bin文件加下的startup.bat启动服务会出现闪退的情况,其原因是没有为Tomcat配置相关环境变量。
简单的解决方案:
右键 startup.bat——>编辑,在文件最上方加入语句:
SET JAVA_HOME=C:\Program Files\Java\jdk1.7.0_17 //jdk的路径,这里一定是jdk的安装路径
SET TOMCAT_HOME=D:\apache-tomcat-8.0.36 //Tomcat的路径
1 SET JAVA_HOME=C:\Program Files\Java\jdk1.7.0_17
2 SET TOMCAT_HOME=D:\apache-tomcat-8.0.36
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAABAoAAACbCAIAAABks+6OAAAfFUlEQVR4nO3d348kV3XA8XqJkn9p5t15tRRLeYaXVhQJoQgpIBAiUgwRItBjCEQm4UcEsSEhWAHRgUA2LKztxZ7Z9e56f3ja+8te73rXXrO7IEUiwZWHrumpuj/OPfdHVVd3fz8arbqrb9177u2a6XO6qnurD338w/zwww8//PDDDz/88MMPPx/6+IerGgAAAADquq5rygMAAAAADcoDAAAAAA3KAwAAAAANygMAAAAADcoDAAAAAA1tefCpL31V+BcAAADABgiXB987vPXHf/Knp99697HHnzhx4+5jjz/x7/O3Hnv8iW9fvPnY40/87emLnz/1yrlTzw4QKwAAAIBeBcqD/3v//afPXX39vd9cfvfhK3d//avb90+++c6Pr7/93Pytf75082vnrz158sznfnn2qSc/OEy4a2822d2brzoIAAAAwC1QHtz57f88e/nm4f2HF+89PHPnvRduvXvi5t0fXb39b4dvfuvSja++cvWv/uvlr+1fHmt5MN/brSazPrtvep9NKttk5nmgwyoX5nu7lBAAAABjJud3A0eyv79vb9/f30+LJLDPr27f/+mNt09fe/OXV984cXhjdunacxfmz5698o2DS185feFzvzz7F9//6XcOLm5peSCl8rOJc2TF2QPKAwAAgJETMu+By4P9/f0/+MM/MioE50alQPTfO7z10p375+89OHj7vRdv3//5G3f/4/qd5+a3nrl882sXrj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mPkGZWdr92bs/+xZeHtSMYT1cJgCzXA72+pbkv1PNjvxcBi/x6mDdHf+iTE73stAIBNklAe/D/lJf+UVtcO5wAAAABJRU5ErkJggg==" alt="" />
插入语句后,可正常使用startup.bat打开
注意上面的要加入的配置文件中的部分要放在文件的最上面,否则仍可能解决不了问题.
解决tomcat的安装文件中点击startup.bat闪退的问题的更多相关文章
- tomcat启动不成功(点击startup.bat闪退)的解决办法
今天遇到tomcat手动启动不成功,但是再eclipse里面是可以启动成功的.我一直开始以为是端口被占用了,最后才发现是这么一回事.首先说下我的tomcat是安装版的.免安装的tomcat双击star ...
- tomcat.apache startup.bat闪退两种解决方法
tomcat bin文件夹中的startup.bat闪退原因及解决方法两种 方法一:在启动tomcat时闪退,重新检查java的jre运行环境.如果环境变量忘记配置一定会导致了tomcat的闪退. 追 ...
- startup.bat闪退问题
startup.bat闪退问题 我自己遇到的 1.例如: 手动点击startup.bat 后 ,一闪而过 2例如:在cmd下 进到tomcat的bin目录 运行 startup.bat 解决问题,第一 ...
- Tomcat启动startup.bat闪退和JRE_HOME错误
转载:http://blog.csdn.net/xushikuan/article/details/8132317 昨天学习Struts2,下载Tomcat7,太恶心了. 先是报个错,无法启动,基本意 ...
- Tomcat双击startup.bat闪退的原因及解决方式
很久不碰Tomcat了,最近因为种种原因需要重新投入到Java Web的怀抱,所以又重新接触了Tomcat 我下载了tomcat的压缩包将其解压缩到某个位置,我这里是D盘下的tomcat文件夹中,但是 ...
- 直接双击启动tomcat中的startup.bat闪退原因及解决方法
免安装的tomcat双击startup.bat后,启动窗口一闪而过,而且tomcat服务未启动. 原因是:在启动tomcat是,需要读取环境变量和配置信息,缺少了这些信息,就不能登记环境变量,导致了t ...
- 双击启动tomcat中的startup.bat闪退原因及解决方法
免安装的tomcat双击startup.bat后,启动窗口一闪而过,而且tomcat服务未启动. 原因是:在启动tomcat是,需要读取环境变量和配置信息,缺少了这些信息,就不能登记环境变量,导致了t ...
- Tomcat无法成功启动——双击startup.bat闪退
使用的Tomcat是免安装版本的.因为在启动tomcat是需要读取环境变量和配置信息,缺少了这些信息,就不能登记环境变量,导致了tomcat的闪退. 解决办法: 1:在已解压的tomcat的bin文件 ...
- JavaWeb-tomcat安装(Unsupported major.minor version 51.0/startup.bat闪退)
JavaWeb-tomcat安装(Unsupported major.minor version 51.0) 一 启动startup.bat 出错i 今天安装tomcat出错,折腾了一下午,收获了许多 ...
随机推荐
- 控制反转(IoC)-解析与实现
控制反转(Inversion of Control)缩写:IoC是面向对象编程中框架级别里的一个重要的概念, 可以说Spring框架的核心就是基于IoC原理的. 这个概念到底是什么呢? 这么讲吧,一个 ...
- Spring阅读方法
转自:http://www.cnblogs.com/xing901022/p/4178963.html 最近没什么实质性的工作,正好有点时间,就想学学别人的代码.也看过一点源码,算是有了点阅读的经验, ...
- java NIO详解
http://zalezone.cn/2014/09/17/NIO%E7%B2%BE%E7%B2%B9/ 1. 前言 我们在写java程序的时候,为了进行优化,把全部的精力用在了处理效率上,但是对IO ...
- Linux(7)chmod解析
在UNIX和Linux的操作系统中, 每个文件(文件夹也被看作是文件)都按读, 写, 运行设定权限 比如用ls -l或ll命令列文件表时, 得到如下输出: -rw-r--r-- 1 apple use ...
- Uva 548 二叉树的递归遍历lrj 白书p155
直接上代码... (另外也可以在递归的时候统计最优解,不过程序稍微复杂一点) #include <iostream> #include <string> #include &l ...
- Uva 679 Dropping Ballls 二叉树的编号
这个程序常规处理起来数据量很大,I可以高达2^D-1 /* ....... */ 里面的代码块据此避免了开太大的数组 做太多的循环 #include<cstdio> #include< ...
- 各种排序算法及其java程序实现
各种排序算法:冒择路(入)兮(稀)快归堆,桶式排序,基数排序 冒泡排序,选择排序,插入排序,稀尔排序,快速排序,归并排序,堆排序,桶式排序,基数排序 一.冒泡排序(BubbleSort)1. 基本思想 ...
- Python爬虫从入门到放弃(二十)之 Scrapy分布式原理
关于Scrapy工作流程回顾 Scrapy单机架构 上图的架构其实就是一种单机架构,只在本机维护一个爬取队列,Scheduler进行调度,而要实现多态服务器共同爬取数据关键就是共享爬取队列. 分布式架 ...
- Nodejs package.json文件介绍
每个npm的安装包里面都会包含一个package.json,通常这个文件会在包的根目录下. 这个文件很类似于.net项目中的.csproj+AssemblyInfo.cs+App.config文件,主 ...
- 微信小程序(有始有终,全部代码)开发--- 新增模块: 图片选取以及拍照功能
开篇语 前几天发了一篇: <简年15: 微信小程序(有始有终,全部代码)开发---跑步App+音乐播放器 > 后来又发了BUG修复的版本: 简年18: 微信小程序(有始有终,全部代码)开发 ...