redhat-developer / redhat-developer/vscode-java

Windows 10 Couldn't start client Java Language Server even with java_home set

Open
#785 40 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

extension-start stale
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 -

1

I already have the JAVA_HOME environment variable set -

2

and also java.home set in VSCode user settings -

3

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
  1. 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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.