This is an automated email from the ASF dual-hosted git repository. hyunkun pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/master by this push: new ddd7e43 Add -jar for java command in dubbo-demo readme file (#4517) ddd7e43 is described below commit ddd7e43d172b5153758413ab1ea55e5fcac64323 Author: shouhong <shouhong.zh...@outlook.com> AuthorDate: Wed Jul 10 13:27:11 2019 +0800 Add -jar for java command in dubbo-demo readme file (#4517) --- dubbo-demo/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dubbo-demo/README.md b/dubbo-demo/README.md index 04653c7..3220be4 100644 --- a/dubbo-demo/README.md +++ b/dubbo-demo/README.md @@ -19,11 +19,11 @@ Since the generated artifacts are fat jars backed by spring boot maven plugin, t Use '*dubbo-demo/dubbo-demo-api*' as an example, to start the provider '*dubbo-demo-api-provider*', execute the following command: ```bash -java -Djava.net.preferIPv4Stack=true dubbo-demo-api-provider-${project.version}.jar +java -Djava.net.preferIPv4Stack=true -jar dubbo-demo-api-provider-${project.version}.jar ``` To run the consumer '*dubbo-demo-api-consumer*', execute the following command: ```bash -java -Djava.net.preferIPv4Stack=true dubbo-demo-api-consumer-${project.version}.jar +java -Djava.net.preferIPv4Stack=true -jar dubbo-demo-api-consumer-${project.version}.jar ```