启动rocketmq,报错误: Please set the JAVA_HOME variable in your environment, We need java(x64)!的解决方法
Posted 秋9
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了启动rocketmq,报错误: Please set the JAVA_HOME variable in your environment, We need java(x64)!的解决方法相关的知识,希望对你有一定的参考价值。
D:\\rocketmq\\rocketmq-all-4.2.0-bin-release\\bin>D:\\song\\mm\\rocketmq\\rocketmq-all-4.2.0-bin-release\\bin\\mqnamesrv.cmd
Please set the JAVA_HOME variable in your environment, We need java(x64)!
D:\\rocketmq\\rocketmq-all-4.2.0-bin-release\\bin>
【解决方法】
设置Java环境变量
set JAVA_HOME= D:\\work\\jdk1.8.0_181
set PATH=.; %JAVA_HOME%\\bin;%JAVA_HOME%\\jre\\bin;
set CLASSPATH=.;%JAVA_HOME%\\lib\\dt.jar;%JAVA_HOME%\\lib\\tools.jar;
设置环境立即生效的方法为
Windows环境变量,JAVA_HOME设置后,如何立即生效?_秋9的博客-CSDN博客
以上是关于启动rocketmq,报错误: Please set the JAVA_HOME variable in your environment, We need java(x64)!的解决方法的主要内容,如果未能解决你的问题,请参考以下文章
jmeter安装启动报错:Not able to find Java executable or version. Please check your Java installation
安装VisualSVN Server 报"Service 'VisualSVN Server' failed to start. Please check VisualSVN
IDEA启动报错Internal error. Please report to http://jb.gg/ide/critical-startup-errors
IDEA启动报错Internal error. Please report to http://jb.gg/ide/critical-startup-errors
IDEA启动报错Internal error. Please report to http://jb.gg/ide/critical-startup-errors
Jmeter启动报错:Not able to find Java executable or version. Please check your Java installation