redhat-developer / redhat-developer/vscode-java
Windows 10 Couldn't start client Java Language Server even with java_home set
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
When I open a java project in VSCode and click on a .java file, I get the error - "Couldn't start client Java Language Server". Screenshot below -

I already have the JAVA_HOME environment variable set -

and also java.home set in VSCode user settings -

Environment
- Operating System: Windows 10
- JDK version: 11.0.1
- Visual Studio Code version: 1.30.2
- Java extension version: 0.38.0
Steps To Reproduce
- Open a java file in a java project
Additional Informations
I also get additional errors, like "Classpath is incomplete". Even though I opened a complete intellij generated project and a netbeans generated project in 2 different windows.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure on Windows 10 with JDK 11.0.1, VS Code 1.30.2, and Java extension 0.38.0, using both JAVA_HOME and java.home as described; opening a Java file should start the Java Language Server without the startup or incomplete-classpath errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100