java_start
Start the Java Language Server to enable code intelligence. Required before using other commands; restarts if already running.
Instructions
Start the Java Language Server (JDT.LS). Required before other commands. If already running, it will restart.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"jdtlsHome": "<jdtlsHome>"
},
"name": "java_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jdtlsHome | Yes | Path to JDT.LS installation root directory | |
| workspacePath | No | Path to the workspace root (default: current directory) | |
| javaHome | No | Path to Java Home (overrides JAVA_HOME env var) | |
| javaRuntimes | No | List of Java Runtimes for different versions | |
| mavenConfig | No | Custom Maven configuration |