rocketmq icon indicating copy to clipboard operation
rocketmq copied to clipboard

[Bug] windows上broker启动失败 缺少引号

Open scwlkq opened this issue 2 years ago • 2 comments

Before Creating the Bug Report

  • [X] I found a bug, not just asking a question, which should be created in GitHub Discussions.

  • [X] I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.

  • [X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.

Runtime platform environment

windows

RocketMQ version

4.9.4

JDK Version

11

Describe the Bug

image

Steps to Reproduce

类似namesvr.cmd 对runbroker.cmd的命令加上英文引号set "JAVA_OPT=%JAVA_OPT% -cp "%CLASSPATH%"" image

What Did You Expect to See?

提个pr解决一下

What Did You See Instead?

专门针对windows系统的二进制文件?

Additional Context

No response

scwlkq avatar Jan 08 '24 08:01 scwlkq

You can check whether your RocketMQ_HOME contains spaces

humkum avatar Jan 08 '24 11:01 humkum

You can check whether your RocketMQ_HOME contains spaces

I have checked and there are no spaces. In fact, I encountered this problem when searching and found many blogs like this, so I thought it might be a small bug

我检查过了没有空格。事实上我是出现这个问题去搜索然后发现很多这样的博客,于是想着可能是小bug(?)

scwlkq avatar Jan 08 '24 11:01 scwlkq