Title: "Configure Java runtime" gives no option to install macOS arm64 JDK · Issue #2201 · redhat-developer/vscode-java · GitHub
Open Graph Title: "Configure Java runtime" gives no option to install macOS arm64 JDK · Issue #2201 · redhat-developer/vscode-java
X Title: "Configure Java runtime" gives no option to install macOS arm64 JDK · Issue #2201 · redhat-developer/vscode-java
Description: I just opened a java project on an arm64 Mac for the first time, and the extension isn't providing an option to install an arm64 jdk (or recognizing my current jdk). Environment Operating System: macOS 12 (arm64) JDK version: 11.0.2 Visu...
Open Graph Description: I just opened a java project on an arm64 Mac for the first time, and the extension isn't providing an option to install an arm64 jdk (or recognizing my current jdk). Environment Operating System: m...
X Description: I just opened a java project on an arm64 Mac for the first time, and the extension isn't providing an option to install an arm64 jdk (or recognizing my current jdk). Environment Operating Syste...
Opengraph URL: https://github.com/redhat-developer/vscode-java/issues/2201
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"\"Configure Java runtime\" gives no option to install macOS arm64 JDK","articleBody":"\u003c!-- \r\n IF YOUR ISSUE CONCERNS RUNNING/DEBUGGING JAVA CODE, \r\n PLEASE OPEN YOUR TICKET IN https://github.com/microsoft/vscode-java-debug/issues \r\n--\u003e\r\n\r\nI just opened a java project on an arm64 Mac for the first time, and the extension isn't providing an option to install an arm64 jdk (or recognizing my current jdk).\r\n\r\n##### Environment\r\n- Operating System: macOS 12 (arm64)\r\n- JDK version: 11.0.2\r\n- Visual Studio Code version: 1.62.0\r\n- Java extension version: 1.0.0\r\n\r\n##### Steps To Reproduce\r\n1. Install Zulu build of openjdk 11 through IntelliJ \r\n 2. JDK seems to live at `~/Library/Java/JavaVirtualMachines`\r\n1. Install VS Code and the java extension\r\n2. Get message saying that Java 11 or newer must be installed\r\n3. Click the blue text to open the configuration page\r\n4. Observe no aarch64 download link. (the `installed JDKs` tab cannot find my jdk install, but perhaps that has something to do with how I installed Zulu, or something as described in https://github.com/redhat-developer/vscode-java/issues/1543#issuecomment-718546853)\r\n\r\n[Please attach a sample project reproducing the error]: N/A\r\n##### Current Result\r\nVS Code offers to install x64 java.\r\n\r\n##### Expected Result\r\nVS Code offers to install aarch64 java.\r\n\r\n##### Additional Information\r\n\r\nObserve that the install options given are only for Mac x64 and not ARM64, even though adoptium.net has aarch64 builds of jdk17 for macOS. I would be glad to help contribute a fix, but I'm not sure of where the relevant code is in the codebase, and I didn't have any success with a GitHub search.\r\n\r\nWhat I see when opening the `configure java runtime` page:\r\n\u003cimg width=\"1330\" alt=\"Screen Shot 2021-11-08 at 8 48 19 AM copy\" src=\"https://user-images.githubusercontent.com/16804460/140804218-671b7aaf-60cb-4245-b278-186e91bab9e8.png\"\u003e\r\n\r\n\r\nadoptium.net, showing the availability of JDK17 for aarch64:\r\n\u003cimg width=\"813\" alt=\"image\" src=\"https://user-images.githubusercontent.com/16804460/140803251-2679cf7d-0836-46cc-bb59-cc2b00207f66.png\"\u003e\r\n\r\n","author":{"url":"https://github.com/TylerADavis","@type":"Person","name":"TylerADavis"},"datePublished":"2021-11-08T19:22:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/2201/vscode-java/issues/2201"}
| 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:a1387105-1cf4-adb3-e5e3-1fdace844028 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D206:F9E54:C4CADA:FDF73D:698FDDD0 |
| html-safe-nonce | d17df00e206ae6e12bcab52cad512f88d781d8f958f0839a018526a8c5a74c9a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjA2OkY5RTU0OkM0Q0FEQTpGREY3M0Q6Njk4RkRERDAiLCJ2aXNpdG9yX2lkIjoiNDMzODk1ODMxNTYxNjcyMjM4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 461a36ab92e2907c70957dd4efb79031658f94dc2cd11f2288d3144c1ff59f1f |
| hovercard-subject-tag | issue:1047833421 |
| github-keyboard-shortcuts | repository,issues,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/redhat-developer/vscode-java/2201/issue_layout |
| twitter:image | https://opengraph.githubassets.com/68d233cdf95510f78c2cba3af1b10ba31ccffb5d1abd58ea66cb8d36e316ea8b/redhat-developer/vscode-java/issues/2201 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/68d233cdf95510f78c2cba3af1b10ba31ccffb5d1abd58ea66cb8d36e316ea8b/redhat-developer/vscode-java/issues/2201 |
| og:image:alt | I just opened a java project on an arm64 Mac for the first time, and the extension isn't providing an option to install an arm64 jdk (or recognizing my current jdk). Environment Operating System: m... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | TylerADavis |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/redhat-developer/vscode-java git https://github.com/redhat-developer/vscode-java.git |
| octolytics-dimension-user_id | 11033755 |
| octolytics-dimension-user_login | redhat-developer |
| octolytics-dimension-repository_id | 65561709 |
| octolytics-dimension-repository_nwo | redhat-developer/vscode-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 65561709 |
| octolytics-dimension-repository_network_root_nwo | redhat-developer/vscode-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 | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width