Update README to reflect Java 11 change #553
This commit is contained in:
parent
5ba6492684
commit
7be519e724
@ -37,14 +37,9 @@ Download the latest WebGoat release from [https://github.com/WebGoat/WebGoat/rel
|
|||||||
java -jar webgoat-server-8.0.0.VERSION.jar [--server.port=8080] [--server.address=localhost]
|
java -jar webgoat-server-8.0.0.VERSION.jar [--server.port=8080] [--server.address=localhost]
|
||||||
```
|
```
|
||||||
|
|
||||||
By default WebGoat starts on port 8080 with `--server.port` you can specify a different port. With `server.address` you
|
The latest version of WebGoat needs Java 11. By default WebGoat starts on port 8080 with `--server.port` you can specify a different port. With `server.address` you
|
||||||
can bind it to a different address (default localhost)
|
can bind it to a different address (default localhost)
|
||||||
|
|
||||||
If you use Java 9 or higher you need to run WebGoat as follows:
|
|
||||||
|
|
||||||
```Shell
|
|
||||||
java --add-modules java.xml.bind -jar webgoat-server-8.0.0.VERSION.jar
|
|
||||||
```
|
|
||||||
|
|
||||||
## 2. Run using Docker
|
## 2. Run using Docker
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user