Title: `Java setup process failed due to: Available version not found` should be more specific · Issue #978 · actions/setup-java · GitHub
Open Graph Title: `Java setup process failed due to: Available version not found` should be more specific · Issue #978 · actions/setup-java
X Title: `Java setup process failed due to: Available version not found` should be more specific · Issue #978 · actions/setup-java
Description: Description: Java setup process failed due to: Available version not found should specify the requested java version so people don't have to guess Task version: main Platform: Ubuntu macOS Windows Runner type: Hosted Self-hosted Repro st...
Open Graph Description: Description: Java setup process failed due to: Available version not found should specify the requested java version so people don't have to guess Task version: main Platform: Ubuntu macOS Windows ...
X Description: Description: Java setup process failed due to: Available version not found should specify the requested java version so people don't have to guess Task version: main Platform: Ubuntu macOS Wind...
Opengraph URL: https://github.com/actions/setup-java/issues/978
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`Java setup process failed due to: Available version not found` should be more specific","articleBody":"**Description:**\n`Java setup process failed due to: Available version not found` should specify the requested java version so people don't have to guess\n\n**Task version:**\n`main`\n\n**Platform:**\n- [x] Ubuntu\n- [x] macOS\n- [x] Windows\n\n**Runner type:**\n- [x] Hosted\n- [ ] Self-hosted\n\n**Repro steps:** \n1. Sync a fork of this repository after the release of a new `Severity: high` item but before the corresponding PR is merged to this repository\n\n**Expected behavior:**\nAssuming that `Java setup process failed due to: Available version not found` is problematic, the error should be more specific\n\n**Actual behavior:**\n`Java setup process failed due to: Available version not found` with no indication of which Java version was requested:\n\n[](https://github.com/jsoref/setup-java/actions/runs/21627561979)\n\n#### Annotations\n9 errors\n❌ [Basic validation / build (macos-latest)](https://github.com/jsoref/setup-java/actions/runs/21627561979/job/62331530517#step:9:48)\nProcess completed with exit code 1.\n❌ [Basic validation / build (macos-latest)](https://github.com/jsoref/setup-java/actions/runs/21627561979/job/62331530517#step:8:46)\nJava setup process failed due to: Available version not found\n❌ [Basic validation / build (macos-latest)](https://github.com/jsoref/setup-java/actions/runs/21627561979/job/62331530517#step:8:44)\nJava setup process failed due to: Available version not found\n❌ [Basic validation / build (ubuntu-latest)](https://github.com/jsoref/setup-java/actions/runs/21627561979/job/62331530505#step:9:48)\nProcess completed with exit code 1.\n❌ [Basic validation / build (ubuntu-latest)](https://github.com/jsoref/setup-java/actions/runs/21627561979/job/62331530505#step:8:51)\nJava setup process failed due to: Available version not found\n❌ [Basic validation / build (ubuntu-latest)](https://github.com/jsoref/setup-java/actions/runs/21627561979/job/62331530505#step:8:50)\nJava setup process failed due to: Available version not found\n❌ [Basic validation / build (windows-latest)](https://github.com/jsoref/setup-java/actions/runs/21627561979/job/62331530500#step:9:48)\nProcess completed with exit code 1.\n❌ [Basic validation / build (windows-latest)](https://github.com/jsoref/setup-java/actions/runs/21627561979/job/62331530500#step:8:10)\nJava setup process failed due to: Available version not found\n❌ [Basic validation / build (windows-latest)](https://github.com/jsoref/setup-java/actions/runs/21627561979/job/62331530500#step:8:9)\nJava setup process failed due to: Available version not found\n\n---\n\n- https://github.com/actions/setup-java/issues/977 covers the main failure here, this ticket is solely for the fact that `Java setup process failed due to: Available version not found` isn't terribly helpful","author":{"url":"https://github.com/jsoref","@type":"Person","name":"jsoref"},"datePublished":"2026-02-03T11:12:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/978/setup-java/issues/978"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:633f0098-c5d4-556c-9875-014ea6cccfbc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 82FA:2FF44E:311C3:42BD1:6A4C6B06 |
| html-safe-nonce | 375e7f8ee9f0c0bb5110a323915f89809e919a0834d860c4d51252a05a535a73 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkZBOjJGRjQ0RTozMTFDMzo0MkJEMTo2QTRDNkIwNiIsInZpc2l0b3JfaWQiOiI3MTUzNDg5NDk4OTY1MDQzOTc0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | be3a89ae6d49586b619d189ddc040ed5fcb2955c6113eabfc2f5bc98d40eeaed |
| hovercard-subject-tag | issue:3890712392 |
| github-keyboard-shortcuts | repository,issues,actions,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/actions/setup-java/978/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ba7b763671f0310bfa248eab8e23c94afcdc4e9288b48d9097c8cf922db03084/actions/setup-java/issues/978 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ba7b763671f0310bfa248eab8e23c94afcdc4e9288b48d9097c8cf922db03084/actions/setup-java/issues/978 |
| og:image:alt | Description: Java setup process failed due to: Available version not found should specify the requested java version so people don't have to guess Task version: main Platform: Ubuntu macOS Windows ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jsoref |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| go-import | github.com/actions/setup-java git https://github.com/actions/setup-java.git |
| octolytics-dimension-user_id | 44036562 |
| octolytics-dimension-user_login | actions |
| octolytics-dimension-repository_id | 196057608 |
| octolytics-dimension-repository_nwo | actions/setup-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 196057608 |
| octolytics-dimension-repository_network_root_nwo | actions/setup-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 14099438da5379150f15a2892474c7c7e6c0e55e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width