engineerping opened a new issue, #7996:
URL: https://github.com/apache/rocketmq/issues/7996

   ### Before Creating the Bug Report
   
   - [X] I found a bug, not just asking a question, which should be created in 
[GitHub Discussions](https://github.com/apache/rocketmq/discussions).
   
   - [X] I have searched the [GitHub 
Issues](https://github.com/apache/rocketmq/issues) and [GitHub 
Discussions](https://github.com/apache/rocketmq/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
   
   OS: ("macOS 14.3.1 (23D60)")
   
   ### RocketMQ version
   
   branch: (release-5.2.0) version: (5.2.0) Git commit: (0b612ff)
   
   ### JDK Version
   
   Compiler: ("Oracle JDK 1.8.0_391") OS: ("macOS 14.3.1 (23D60)")
   
   ### Describe the Bug
   
   while I am creating Rocket MQ on my local by following 
https://rocketmq.apache.org/docs/quickStart/01quickstart/;
   I got failed without any useful information. after reaching, I changed my 
shell command, the following information was shown:
   ---
   $ sh ./mqbroker -n localhost:9876 --enable-proxy
   Error: VM option 'UseG1GC' is experimental and must be enabled via 
-XX:+UnlockExperimentalVMOptions.
   Error: Could not create the Java Virtual Machine.
   Error: A fatal exception has occurred. Program will exit.
   ---
   
   So I have updated some commands and raised a PR.
   
   ### Steps to Reproduce
   
   Just follow the official document 
   https://rocketmq.apache.org/docs/quickStart/01quickstart/ 
   
   when JDK 8 is in use, this problem will be reproduced.
   
   ### What Did You Expect to See?
   
   $ sh ./mqbroker -n localhost:9876 --enable-proxy
   Tue Apr 02 00:18:04 HKT 2024 rocketmq-proxy startup successfully
   
   ### What Did You See Instead?
   
   Error: VM option 'UseG1GC' is experimental and must be enabled via 
-XX:+UnlockExperimentalVMOptions.
   Error: Could not create the Java Virtual Machine.
   Error: A fatal exception has occurred. Program will exit.
   
   ### Additional Context
   
   I have raised a PR to avoid this problem


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to