Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to get the language server #1

Closed
mattiasb opened this issue Apr 20, 2017 · 8 comments
Closed

Document how to get the language server #1

mattiasb opened this issue Apr 20, 2017 · 8 comments

Comments

@mattiasb
Copy link

Hi!

I wanted to try out lsp-java but I'm stuck trying to find a server download.

A little bit of documentation in the package header and / or README.md wouldn't hurt. :)

@mattiasb
Copy link
Author

After some research I found the proper download link: http://download.eclipse.org/jdtls/snapshots/jdt-language-server-latest.tar.gz

@vibhavp
Copy link
Member

vibhavp commented Apr 21, 2017

Unfortunately, I don't use Java, so I don't know how to set this up.
@tutysara do you think you could add some instructions to the README?

@mattiasb
Copy link
Author

mattiasb commented Apr 21, 2017

In short unzip the above tarball into ~/.emacs.d/eclipse.jdt.ls/server/ and add a (require 'lsp-java) was enough to get going for me.
However, emacs hung for me soon after and was in general very unresponsive so I gave up.

@vibhavp
Copy link
Member

vibhavp commented Apr 21, 2017

Yeah, some language server are still being buggy. Could you add a new issue? I'll see what I can do

@tutysara
Copy link
Contributor

@vibhavp sure, let me work on it.
@mattiasb glad you were able to find it, let me get the new code and see if it works smoothly

@naclander
Copy link

Can you explain what is different between all of the following language servers?

I think https://github.com/eclipse/eclipse.jdt.ls is the "supported" and "recommended" server to use, right?

Similar to waht @vibhavp said, I am having trouble getting the Java language server running as well. It seems unclear from lsp-java whether it is interacting with a server or not.

@tutysara
Copy link
Contributor

yes, https://github.com/eclipse/eclipse.jdt.ls is the one used in vscode and http://download.eclipse.org/jdtls/snapshots/ is the place to download pre built binaries.

@yyoncho
Copy link
Member

yyoncho commented May 7, 2018

Closing since the latest documentation contains information how to obtain the server. Please reopen if you think that there is more work to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants