Skip to content

Commit 97ef780

Browse files
committed
Updated readme to correct Java version
1 parent 802a4e8 commit 97ef780

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ For the best performanance, a local install of [https://github.com/validator/val
1010
composer require phpfui/html-unit-tester
1111
```
1212
## Configuration
13-
It is recommended you run [https://github.com/validator/validator](https://github.com/validator/validator) locally. Install [Java](https://www.java.com/ES/download/) and download the [.jar file](https://github.com/validator/validator/releases). Run with the following command:
13+
It is recommended you run [https://github.com/validator/validator](https://github.com/validator/validator) locally. Install [Java 25 or higher](https://www.java.com/ES/download/) and download the [.jar file](https://github.com/validator/validator/releases). Run with the following command:
1414
```
1515
java -Xss1024k -Dnu.validator.servlet.bind-address=127.0.0.1 -cp .\vnu.jar nu.validator.servlet.Main 8888
1616
```
@@ -20,16 +20,13 @@ To run unit tests with GitHub Actions, add the following lines to you workflows
2020
uses: actions/setup-java@v5
2121
with:
2222
distribution: 'temurin'
23-
java-version: '11'
23+
java-version: '25'
2424
2525
- name: Download vnu checker
2626
run: wget https://github.com/validator/validator/releases/download/latest/vnu.jar
2727
2828
- name: Run Nu Html Checker (v.Nu)
2929
run: java -cp vnu.jar -Xss2048k -Dnu.validator.servlet.bind-address=127.0.0.1 nu.validator.servlet.Main 8888 &
30-
31-
- name: Run Nu Html Checker (v.Nu)
32-
run: java -cp vnu.jar -Xss1024k -Dnu.validator.servlet.bind-address=127.0.0.1 nu.validator.servlet.Main 8888 &
3330
```
3431
## Usage
3532
Extend your unit tests from \PHPFUI\HTMLUnitTester\Extensions

0 commit comments

Comments
 (0)