0

So, I'm using lsp-emacs in Emacs+Arch Linux, and I was able to make it work properly for Java 8 after setting JAVA_HOME to /usr/lib/jvm/default/. The problem I'm having now is that I can't find a way to integrate it with the Javadocs for any other version of Java.

In many IDEs, there's often a way to associate paths for javadocs to specific environments. Since I'm using Arch, these would be in /usr/share/doc/ (such as /usr/share/doc/java11-openjdk/api/ and /usr/share/doc/java-openjdk/api/)

How can I do this with lsp-emacs? I haven't found anything in M-x customize-group RET lsp-java, but I'm not surprised given its approach to handle enviroments. Is there a file I can edit for this? I haven't found any, either.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.