Update README to reflect Java 11 change #553

This commit is contained in:
Nanne Baars 2019-01-31 18:16:10 +01:00
parent 5ba6492684
commit 7be519e724

View File

@ -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]
```
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)
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