You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Follow all the steps described in the Stack Overflow question until update release to marketplace #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)
Thanks @fbricon you made me realize that there is a difference between the JDK version and the Java version, I kinda thought that it was the same thing. Thanks to this discovery I managed to make it work, however it's not really what I was hoping for.
Have a look at the answer I posted on the Stack Overflow topic. To summarize, I didn't really need to create a custom java binary what spins up a docker container with a JDK image. I managed to extract the JDK-files from the image and copy it to my OS its filesystem, where after I pointed the extension to it.
Not sure if the Stack Overflow answer closes this issue, because it doesn't really use the docker container. I'm quite sure it's possible because IntelliJ has this functionality available.
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
Steps To Reproduce
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:
Attached files:
The text was updated successfully, but these errors were encountered: