Skip to content

Plugin initialization error #45

@marcelo-v-filho-alb

Description

@marcelo-v-filho-alb

Recently downloaded the plugin to give a try but got the following erro:

Language server kotlin-lsp:

initializing server kotlin-lsp, id 2: Server reset the connection
-- stderr --
Unrecognized option: --add-opens
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

This is my settings.json using the options provided in the read me:

{
  "features": {
    "edit_prediction_provider": "zed"
  },
  "agent": {
    "default_model": {
      "provider": "zed.dev",
      "model": "claude-sonnet-4"
    }
  },
  "icon_theme": "Zed (Default)",
  "languages": {
    "Kotlin": {
      "language_servers": ["kotlin-lsp"]
    }
  },
  "lsp": {
    "kotlin-language-server": {
      "settings": {
        "compiler": {
          "jvm": {
            "target": "17"
          }
        }
      }
    }
  }
}

System information:

  • MacOS 15.6
  • M4 Pro

Is there a setting I need to do to make the plugin work?

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