You must have coc-java installed first and the Java language server is working properly.
Run below command in vim.
For the first time, it will download dependencies from vscode-java-dependency releases.
To open the project dependency explorer, execute:
To close it, execute:
To find current file in the explorer, execute:
The following commands are available:
java.dependency.downloadJdtlsExtension [version]: download the default (or specific) version of the Java language server extension.