Skip to content

Commit

Permalink
Add -jar for java command in dubbo-demo readme file (apache#4517)
Browse files Browse the repository at this point in the history
  • Loading branch information
shouhong authored and rolandhe committed Sep 9, 2019
1 parent 40f792d commit 50bed1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dubbo-demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit 50bed1c

Please sign in to comment.