redhat-developer / redhat-developer/vscode-java

Unable to point to the JDK in a docker container

Đang mở
#1,841 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

enhancement
Ngôn ngữ chính
TypeScript
Star
2.3k
Fork
546
Merge trung bình
20 giờ 1 phút
Pull request đã merge (30 ngày)
11

Mô tả

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:

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu với chủ đề Stack Overflow được liên kết, tệp developer-console.log đính kèm và các issue liên quan #1801 và #1754. Điều tra cách extension được cấu hình để sử dụng JDK trong Docker container và lý do lệnh ghi log của Java Language Server không khả dụng. Công việc được xem là hoàn tất khi Java Language Server hoạt động và mã Java biên dịch được trong thiết lập được mô tả.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
docker, java, typescript, vscode
Lĩnh vực
developer-experience, devtools
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.