Compare commits

...

3 Commits

Author SHA1 Message Date
Chiranjib Swain
997a29be98
Merge c86f1b0294 into d0351b4837 2025-09-03 14:14:18 -05:00
chiranjib-swain
c86f1b0294 Clarify instructions for setting up multiple JDKs in README 2025-08-21 18:01:26 +05:30
chiranjib-swain
9955c0e961 Update README to clarify JAVA_HOME and PATH setup 2025-05-22 12:53:32 +05:30

View File

@ -237,7 +237,7 @@ jobs:
### Install multiple JDKs
All versions are added to the PATH. The last version will be used and available globally. Other Java versions can be accessed through env variables with such specification as 'JAVA_HOME_{{ MAJOR_VERSION }}_{{ ARCHITECTURE }}'.
All configured Java versions are added to the PATH. The last one added to the PATH (i.e., the last JDK set up by this action) will be used as the default and available globally. Other Java versions can be accessed through environment variables such as 'JAVA_HOME_{{ MAJOR_VERSION }}_{{ ARCHITECTURE }}'. To use a specific Java version, set the JAVA_HOME environment variable accordingly and prepend its bin directory to the PATH to ensure it takes priority during execution.
```yaml
steps: