redhat-developer / redhat-developer/vscode-java

Unable to point to the JDK in a docker container

オープン
#1,841 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

enhancement
主要言語
TypeScript
スター
2.3k
フォーク
546
平均マージ
20時間 1分
マージ済み PR(30日)
11

説明

It might not be an issue because I think it's possible to configure this extension so it can the JDK binary's from a docker container. However I also see the possibility that there is some issue with the extension in the way it is facilitating the configuration of the JDK.

Please have a look at this Stack Overflow topic where we try to figure out how to configure the extension and docker container, to make them work together.

Environment
  • Operating System: Ubuntu 20.10
  • JDK version: 1.8
  • Visual Studio Code version: 1.54.3
  • Java extension version: 0.76.0
Steps To Reproduce
  1. Follow all the steps described in the Stack Overflow question until update #1 in a valid Java project.
Current Result

Errors, see stack overflow question.

Expected Result

A working Java Language Server and Java code being compiled.

Additional Information

The following issues might be related: #1801 and #1754

I was not able to get Java Language Server logs, I tried but got:

Command 'Java: Open Java Language Server Log File' resulted in an error (command 'java.open.serverLog' not found)

Attached files:

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

リンクされている Stack Overflow のトピック、添付された developer-console.log、および関連する issue #1801 と #1754 から始めてください。Docker コンテナ内で JDK を使用するように拡張機能がどのように設定されているか、また Java Language Server のログコマンドを利用できない理由を調査してください。Java Language Server が動作し、説明されているセットアップで Java コードをコンパイルできれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
docker, java, typescript, vscode
領域
developer-experience, devtools
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。