redhat-developer / redhat-developer/vscode-java
java.configuration.runtimes not working
オープン
まだ誰も着手していません。
Maven
runtime
upstream
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 546
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 11
説明
[provide a description of the issue]
Environment
- Operating System: MacOS Big Sur
- JDK version: openjdk8, openjdk11, openjdk17, temurin8, temurin 11, temurin 17
- Visual Studio Code version: 1.70.1
- Java extension version: 0.25.0
Steps To Reproduce
- Open a Java project - Spring Boot and java.version on Maven is 11
- Wait until Java Build Status is finished
- Hover mouse over on "Language Level" of Java Runtime at the right-bottom.
- It is always one of the 8 version, even though the title shows JavaSE-11. My configuration change on settings.json (for user and workplace both) is not working.
- If I remove all 8 JDKs, JavaSE-11 is still shown but the path becomes "/Library/Internet Plug-ins/Java/AppletPlugin.plugin/Contents/Home".
[Please attach a sample project reproducing the error]

Please attach logs
Current Result
java.configuration.runtimes does not work at all and I cannot use any other JDKs except the one VSCode chooses by default.
Expected Result
I had been able to chose different JDKs per project.
Additional Informations
I have not used VSCode for my Java development for a while and found this recently.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Maven の Java バージョンが 11 である Spring Boot プロジェクトを使用し、報告された MacOS、VS Code、Java extension、JDK のバージョンで問題を再現します。まず settings.json java.configuration.runtimes の設定と Java Runtime の言語レベル表示から始めます。プロジェクトが設定された JDK を使用し、プロジェクトごとに異なる JDK を選択できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, spring-boot, vscode
- 領域
- developer-experience, tooling
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100