Java language server

Tips and information on how to install and use language servers with the editor.
Post Reply
User avatar
Rickard Johansson
Site Admin
Posts: 6525
Joined: 19 Jul 2006 14:29

Java language server

Post by Rickard Johansson »

Java language server
A Java language server based on v3.0 of the protocol and implemented using the Java compiler API.

Install Java jdk: ... loads.html
The language server seems to require version 18.x when writing this.

Download the language server:
* Extract the server to a folder (and make sure the path does not contain spaces).
* Open a terminal window in the language server folder and type:

Code: Select all

>mvn dependency:resolve
>mvn dependency:resolve -Dclassifier=sources
>mvn package -DskipTests
Now you can add the server to a project.

Add the server in project/sites settings

Server name
Java language server


Initial folder

Command line arguments

File extension and language id

Communication channel
* Command line (stdio)

Source folders
<Path to your go project files>

Initialize options
Post Reply