[root@host-192-168-0-51 bin]# sh startup.sh
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项目一键部署 3.5后,在设置里安装tomcat,面板提示安装成功,点击插件设置提示下图
,重启也不好使,我用命令启动,提示[root@host-192-168-0-51 bin]# sh startup.sh
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