Compare commits

...

2 Commits

Author SHA1 Message Date
David Liu
d46832f2ae
Merge 8cd9b686db into d0351b4837 2025-09-04 14:14:37 +02:00
David Liu
8cd9b686db
Update README.md
A confusion introduced by running `java HelloWorldApp.java`
I believe the file is not an artifact of `setup-java`, thus user should provide it. But there is no tips in the guide that user should prepare it in advance. Directly copy the code snippets will introduce a straightforward error, which should not happen in a guide.
2024-03-22 11:47:03 +08:00

View File

@ -76,7 +76,6 @@ steps:
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '21'
- run: java HelloWorldApp.java
```
#### Azul Zulu OpenJDK
@ -87,7 +86,6 @@ steps:
with:
distribution: 'zulu' # See 'Supported distributions' for available options
java-version: '21'
- run: java HelloWorldApp.java
```
#### Supported version syntax
@ -213,7 +211,6 @@ steps:
distribution: 'temurin'
java-version: '21'
check-latest: true
- run: java HelloWorldApp.java
```
### Testing against different Java versions
@ -232,7 +229,6 @@ jobs:
with:
distribution: '<distribution>'
java-version: ${{ matrix.java }}
- run: java HelloWorldApp.java
```
### Install multiple JDKs