Network access on the first start. The server runs on Eclipse Temurin of its own Java version, which the extension downloads into ~/.jdks (about 140 MB) when it isn't there yet. You don't need to install a JDK for the server yourself, and it doesn't matter which Java the project uses.
Getting started
Open a folder that contains a Gradle build and open a Java file. The first start downloads the server's runtime and imports the build. Progress shows in the status bar and in notifications you can cancel.
Settings
Setting
Default
Description
javaLsp.compile.trigger
save
When to compile through Gradle: save, manual or off.
javaLsp.java.download
ask
Whether to download Temurin when a project needs a JDK that isn't installed: ask, always or never.
javaLsp.log.level
info
How much the server writes to its output channel.
Library sources
Library and JDK sources are kept as files in the extension's storage and shared by every window. The extension adds that folder to files.readonlyInclude in your user settings, so they open read-only.
Java is a registered trademark of Oracle and/or its affiliates.