Skip to content

Commit

Permalink
README: mention system props for configuring the connection mode (#1496)
Browse files Browse the repository at this point in the history
Signed-off-by: Kambiz Darabi <[email protected]>
  • Loading branch information
darabi authored and fbricon committed Jul 6, 2020
1 parent 56deaea commit e59ad79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Note: currently, the build can only run when launched with JDK 8. JDK 9 or more

Running from the command line
------------------------------
1. Choose a connection type from "Managing connection types" section below, and then set those environment variables in your terminal prior to continuing
1. Choose a connection type from "Managing connection types" section below, and then set those environment variables in your terminal or specify them as system properties with `-D` prior to continuing

2. Make sure to build the server using the steps above in the "Building from command line" section

Expand Down Expand Up @@ -87,9 +87,9 @@ Managing connection types
-------------------------
The Java Language server supports sockets, named pipes, and standard streams of the server process
to communicate with the client. Client can communicate its preferred connection methods
by setting up environment variables.
by setting up environment variables or alternatively using system properties (e.g. `-DCLIENT_PORT=...`)
* To use a **plain socket**, set the following environment variables before starting the server:
* To use a **plain socket**, set the following environment variables or system properties before starting the server:
* `CLIENT_PORT`: the port of the socket to connect to
* `CLIENT_HOST`: the host name to connect to. If not set, defaults to `localhost`.
Expand Down

0 comments on commit e59ad79

Please sign in to comment.