Skip to content

Can't run extension under Windows #86

@Arthurm1

Description

@Arthurm1

What happened?

I'm running Zed Windows Beta and trying to install the Java extension.

I've got no experience with Zed before.

I don't know if I have the settings correct as the example settings on the Zed website here show a different location for settings: (lsp/jdtls/initialization_options/settings) than this repo's example does here (lsp/jdtls/settings).

Is the one on zed.dev correct? It seems correct. It does seem as though I can write what I want in the settings - I'm guessing there is no schema validation for extension settings unlike with VSCode?

The error I'm getting is...

Language server jdtls:

from extension "Java" version 6.4.1: prefix not found

Is there a way to get more verbose error logging? Does this mean that I've got a setting missing/incorrect? Is the error coming from this extension or from jtdls?

The logs show...

2025-10-02T12:49:37+01:00 INFO  [lsp] starting language server process. binary path: "C:\\Users\\XXXX\\AppData\\Local\\Zed\\node\\node-v22.5.1-win-x64\\node.exe", working directory: "C:\\myproject", args: ["C:\\Users\\XXXX\\AppData\\Local\\Zed\\languages\\json-language-server\\node_modules/vscode-langservers-extracted/bin/vscode-json-language-server", "--stdio"]
2025-10-02T12:49:37+01:00 ERROR [project::lsp_store] Failed to start language server "jdtls": from extension "Java" version 6.4.1: prefix not found

Should I be posting this on the Zed issues board? I haven't tried any other extensions.

What did you expect to happen?

I expect the extension to start

Environment

Zed: v0.208.0
Platform: Windows 11 Pro 10.0.26100 build 26100

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions