ingdex opened a new pull request, #231: URL: https://github.com/apache/rocketmq-connect/pull/231
to fix 2 bug in runconnect.sh 1.check_java_version cannot parse java version to a right number. 2.```sed``` command can not work well in maxOS, so I replease it with ```tr``` instead. I followed quick start in README.md, however, when I run ```sh bin/connect-standalone.sh -c conf/connect-standalone.conf & ``` I got error as follow: ``` (standard_in) 1: parse error sed: 1: ":a;N;s/\n/:/;ba;": unused label 'a;N;s/\n/:/;ba;' (standard_in) 1: parse error Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0 Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=320m; support was removed in 8.0 Unrecognized option: -Xlog:gc:/dev/shm/mq_gc_%p.log Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. ``` The two parse error is caused by check_java_version function in shell script. And another problem is than ```sed``` command in shell script will cause "unused label" error in macOS, so I used ```tr``` instead to get the correct CLASSPATH to fixed it by the way. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
