wenchun commented on issue #2689:
URL: https://github.com/apache/rocketmq/issues/2689#issuecomment-804516178


   I same too:
   /opt/develop/rocketmq-all-4.8.0/bin/runserver.sh: 70: 
/opt/develop/rocketmq-all-4.8.0/bin/runserver.sh: [[: not found
   Unrecognized option: 
-Xlog:gc*:file=/dev/shm/rmq_srv_gc_%p_%t.log:time,tags:filecount=5,filesize=30M
   Error: Could not create the Java Virtual Machine.
   Error: A fatal exception has occurred. Program will exit.
   ---------------------------------------------------------------------
   what is /opt/develop/rocketmq-all-4.8.0/bin/runserver.sh: 70: 
/opt/develop/rocketmq-all-4.8.0/bin/runserver.sh: [[: not found ??
   if [[ "$JAVA_MAJOR_VERSION" -lt "9" ]] ; then
   chang to:
   if [ "$JAVA_MAJOR_VERSION" -lt "9" ] ; then
   rocketmq-all-4.71/bin/runserver.sh:70 is same above.


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to