Skip to content

Can't find the path specified (windows) #102

@AntoniosBarotsis

Description

@AntoniosBarotsis

Launching the extension immediately throws the following error:

Language server java: initializing server java, id 28: server shut down -- stderr -- The system cannot find the path specified. 

Annoyingly, I am not sure what it is actually trying to find xd

My config is copied from the docs with just the java home edited

 "jdtls": { "initialization_options": { "bundles": [], "workspaceFolders": [] }, "settings": { "java": { "home": "C:/Program\\ Files/OpenJDK/jdk-25", // THIS IS EDITED!!! "errors": { "incompleteClasspath": { "severity": "warning" } }, "configuration": { "updateBuildConfiguration": "interactive", "maven": { "userSettings": null } }, "trace": { "server": "verbose" }, "import": { "gradle": { "enabled": true }, "maven": { "enabled": true }, "exclusions": [ "**/node_modules/**", "**/.metadata/**", "**/archetype-resources/**", "**/META-INF/maven/**", "/**/test/**" ] }, "jdt": { "ls": { "lombokSupport": { "enabled": false } } }, "referencesCodeLens": { "enabled": false }, "signatureHelp": { "enabled": false }, "implementationsCodeLens": { "enabled": false }, "format": { "enabled": true }, "saveActions": { "organizeImports": false }, "contentProvider": { "preferred": null }, "autobuild": { "enabled": false }, "completion": { "favoriteStaticMembers": [ "org.junit.Assert.*", "org.junit.Assume.*", "org.junit.jupiter.api.Assertions.*", "org.junit.jupiter.api.Assumptions.*", "org.junit.jupiter.api.DynamicContainer.*", "org.junit.jupiter.api.DynamicTest.*" ], "importOrder": ["java", "javax", "com", "org"] } } } }

I installed the java extension from main@ b65fa10.

The issue is probably something dumb on my end but the error message isn't helping me much out here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions