New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
「软件安装手册」Tomcat配置快捷操作问题 #1
Comments
应该是jdk环境变量没配置吧,JAVA_HOME写死到启动脚本里当然也是可以的
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
羊哥您好~作为小白首先十分十分感谢您出的软件安装文档,我在实践安装Tomcat中遇到了这个问题:
根据您P38页的教程,进⼊ /etc/rc.d/init.d ⽬录,编辑tomcat文件,保存后尝试使用快捷方式
service tomcat start
运行出现了如下bug提示:[leslie@localhost ~]$ service tomcat start Password: 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
经过相关查阅,发现是tomcat文件内缺少JAVA_HOME 与 JRE_HOME 环境变量的设置,完整tomcat文件配置代码如下:
之后便能通过快捷指令
service tomcat start
进行tomcat启动了,最后再次感谢您的无私分享!The text was updated successfully, but these errors were encountered: