Skip to content

Commit 305d1cf

Browse files
committed
Removing JAVA_CLASSPATH, this will work differently in Grid 4 [skip ci]
1 parent b9699d2 commit 305d1cf

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -139,14 +139,6 @@ You can pass `JAVA_OPTS` environment variable to java process.
139139
$ docker run -d -p 4444:4444 -e JAVA_OPTS=-Xmx512m --name selenium-hub selenium/hub:4.0.0-alpha-6-20200730
140140
```
141141

142-
### JAVA_CLASSPATH Java classpath
143-
144-
By default, `CLASSPATH` for Java is `/opt/selenium/*:.` but you can overwrite it with yours using `JAVA_CLASSPATH`. This is useful when you want to use your own JAR files. Note that `/opt/selenium/*` always needs to be included because the Selenium JAR file is in the directory.
145-
146-
```bash
147-
$ docker run -d -p 4444:4444 -v $(pwd):/mnt -e JAVA_CLASSPATH="/mnt/*:/opt/selenium/*:." -e SE_OPTS="-servlets com.example.your.AwesomeServlet" --name selenium-hub selenium/hub:4.0.0-alpha-6-20200730
148-
```
149-
150142
### Selenium Hub and Node Configuration options
151143

152144
For special network configurations or when the hub and the nodes are running on different machines `HUB_HOST` and `HUB_PORT`

0 commit comments

Comments
 (0)