Compare commits

...

2 Commits

Author SHA1 Message Date
David Liu
1c7b4973ef
Merge 8cd9b686db into a7ab372554 2025-09-15 12:50:10 +01: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

@ -83,7 +83,6 @@ steps:
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '21'
- run: java HelloWorldApp.java
```
#### Azul Zulu OpenJDK
@ -94,7 +93,6 @@ steps:
with:
distribution: 'zulu' # See 'Supported distributions' for available options
java-version: '21'
- run: java HelloWorldApp.java
```
#### Supported version syntax
@ -220,7 +218,6 @@ steps:
distribution: 'temurin'
java-version: '21'
check-latest: true
- run: java HelloWorldApp.java
```
### Testing against different Java versions
@ -239,7 +236,6 @@ jobs:
with:
distribution: '<distribution>'
java-version: ${{ matrix.java }}
- run: java HelloWorldApp.java
```
### Install multiple JDKs