redhat-developer / redhat-developer/vscode-java

Unable to point to the JDK in a docker container

Open
#1,841 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

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:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Stack Overflow topic, the attached developer-console.log, and related issues #1801 and #1754. Investigate how the extension is configured to use the JDK in the Docker container and why the Java Language Server log command is unavailable. Done means the Java Language Server works and Java code compiles in the described setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, java, typescript, vscode
Domain
developer-experience, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.