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
I ran into a problem where it seemed like no matter what, I couldn't get vscode-java to recognize that I had OpenJDK installed using environment variables like PATH or JAVA_HOME. I kept getting told: "Please download and install a JDK to compile your project"
Long story short, the problem was that remote-ssh's code-server was still running on my server, even if I closed the vscode window. I believe this behaviour is intentional. Once I killed that process and restarted vscode, the Java module correctly found my openjdk install.
Anyway, may I suggest adding a note to that effect on the Troubleshooting page, in the hopes that it saves someone else frustration?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I ran into a problem where it seemed like no matter what, I couldn't get vscode-java to recognize that I had OpenJDK installed using environment variables like PATH or JAVA_HOME. I kept getting told: "Please download and install a JDK to compile your project"
Long story short, the problem was that remote-ssh's code-server was still running on my server, even if I closed the vscode window. I believe this behaviour is intentional. Once I killed that process and restarted vscode, the Java module correctly found my openjdk install.
Anyway, may I suggest adding a note to that effect on the Troubleshooting page, in the hopes that it saves someone else frustration?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions